Package org.motechproject.mots.exception
Class MotsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.motechproject.mots.exception.MotsException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BaseFormattedException
,ChwException
,ModuleAssignmentException
,MotsAccessDeniedException
public class MotsException extends java.lang.RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MotsException(java.lang.String displayMessage)
Creates new MOTS exception with display message.MotsException(java.lang.String displayMessage, java.lang.Throwable cause)
Creates new MOTS exception with display message and cause.
-
-
-
Constructor Detail
-
MotsException
public MotsException(java.lang.String displayMessage)
Creates new MOTS exception with display message.- Parameters:
displayMessage
- message that will be displayed to the user
-
MotsException
public MotsException(java.lang.String displayMessage, java.lang.Throwable cause)
Creates new MOTS exception with display message and cause.- Parameters:
displayMessage
- message that will be displayed to the usercause
- cause of this exception
-
-