org.liquidsite.util.mail
Class MailTransportException

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

public class MailTransportException
extends java.lang.Exception

A mail transport exception. This exception is thrown when a mail transport connection couldn't be established. This may be due to incorrect mail configuration, a mail server being down or similar. The normal way to handle this error is to retry later.

See Also:
Serialized Form

Constructor Summary
MailTransportException(java.lang.String message)
          Creates a new mail transport exception.
MailTransportException(java.lang.String message, java.lang.Exception cause)
          Creates a new mail transport 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

MailTransportException

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

Parameters:
message - the error message

MailTransportException

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

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