org.liquidsite.util.mail
Class MailMessageException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.liquidsite.util.mail.MailMessageException
All Implemented Interfaces:
java.io.Serializable

public class MailMessageException
extends java.lang.Exception

A mail message exception. This exception is thrown when a mail message couldn't be sent correctly. This may be due to invalid addresses, missing fields or similar. The mail message that caused this error is normally discarded and logged.

See Also:
Serialized Form

Constructor Summary
MailMessageException(java.lang.String message)
          Creates a new mail message exception.
MailMessageException(java.lang.String message, java.lang.Exception cause)
          Creates a new mail message exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MailMessageException

public MailMessageException(java.lang.String message)
Creates a new mail message exception.

Parameters:
message - the error message

MailMessageException

public MailMessageException(java.lang.String message,
                            java.lang.Exception cause)
Creates a new mail message exception.

Parameters:
message - the error message
cause - the root cause to the error