Package overit.geocall.mail
Class EmailException
java.lang.Object
java.lang.Throwable
java.lang.Exception
overit.geocall.mail.EmailException
- All Implemented Interfaces:
Serializable
Class that handles the error that may occurs while sending an email
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of EmailExceptionEmailException(Exception cause) Constructor for EmailExceptionEmailException(String error) Constructor for EmailException -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EmailException
public EmailException()Creates a new instance of EmailException -
EmailException
Constructor for EmailException- Parameters:
error- String containing the error
-
EmailException
Constructor for EmailException- Parameters:
cause- Exception containing the cause
-