All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nyla.solutions.core.exception.EmailException Maven / Gradle / Ivy

Go to download

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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy