nyla.solutions.core.exception.EmailException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nyla.solutions.core Show documentation
Show all versions of nyla.solutions.core Show documentation
This Java API provides support for application utilities (application configuration, data encryption, debugger, text processing, and more).
The newest version!
package nyla.solutions.core.exception;
/**
* Represent an email error
* @author gregory green
* @version 1.0
*
*/
public class EmailException extends CommunicationException
{
public static final String DEFAULT_ERROR_CODE = "EMAIL00";
public static final String DEFAULT_EMAIL_ERROR_MSG = "Email Exception";
/**
*
*/
public EmailException()
{
super(DEFAULT_EMAIL_ERROR_MSG);
this.setCode(DEFAULT_ERROR_CODE);
}
/**
* @param message the email exception message
*/
public EmailException(String message)
{
super(message);
this.setCode(DEFAULT_ERROR_CODE);
}
static final long serialVersionUID = 1;
}