org.apache.mailet
Class MailetException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.apache.mailet.MailetException

public class MailetException
extends java.lang.Exception

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

Version:
1.0.0, 24/04/1999
Author:
Serge Knystautas
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.Throwable t)
          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.
MailetException(java.lang.Throwable t)
          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.
 
Method Summary
 java.lang.Throwable getRootCause()
          Returns the exception that caused this mailet exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
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.Throwable t)
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.

MailetException

public MailetException(java.lang.Throwable t)
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.
Method Detail

getRootCause

public java.lang.Throwable getRootCause()
Returns the exception that caused this mailet exception.