org.apache.mailet
Class MailetException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.mail.MessagingException
              extended by org.apache.mailet.MailetException
All Implemented Interfaces:
java.io.Serializable

public class MailetException
extends javax.mail.MessagingException

Defines a general exception a mailet can throw when it encounters difficulty.

See Also:
Serialized Form

Constructor Summary
MailetException()
          Constructs a new mailet exception.
MailetException(java.lang.String message)
          Constructs a new mailet exception with the specified message.
MailetException(java.lang.String message, java.lang.Exception e)
          Constructs a new mailet exception with the specified message and an exception which is the "root cause" of the exception.
 
Method Summary
 
Methods inherited from class javax.mail.MessagingException
getCause, getNextException, setNextException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MailetException

public MailetException()
Constructs a new mailet exception.


MailetException

public MailetException(java.lang.String message)
Constructs a new mailet exception with the specified message.


MailetException

public MailetException(java.lang.String message,
                       java.lang.Exception e)
Constructs a new mailet exception with the specified message and an exception which is the "root cause" of the exception.



Copyright © 2007-2009 The Apache Software Foundation. All Rights Reserved.