org.codemonkey.simplejavamail.email.EmailException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simple-java-mail Show documentation
Show all versions of simple-java-mail Show documentation
A light weight wrapper for the JavaMail SMTP API
The newest version!
package org.codemonkey.simplejavamail.email;
import org.codemonkey.simplejavamail.MailException;
/**
* This exception is used to communicate errors during the creation of an email.
*
* @author Benny Bottema
*/
@SuppressWarnings("serial")
public class EmailException extends MailException {
protected static final String PARSE_ERROR_MIMEMESSAGE = "Error parsing MimeMessage: %s";
protected static final String DKIM_ERROR_INVALID_FILE = "Private key not found: %s";
protected static final String DKIM_ERROR_UNCLOSABLE_INPUTSTREAM = "Was unable to close InputStream: %s";
public EmailException(final String message, final Exception cause) {
super(message, cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy