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.

Version:
1.0.0, 24/04/1999
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 when the mailet needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation, including a description message.
 
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 when the mailet needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation, including a description message.



Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.