org.apache.mailet
Class MailetException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.mail.MessagingException
                    |
                    +--org.apache.mailet.MailetException
All Implemented Interfaces:
Serializable

public class MailetException
extends MessagingException

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(String message)
          Constructs a new mailet exception with the specified message.
MailetException(String message, 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.
 
Methods inherited from class javax.mail.MessagingException
getMessage, getNextException, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

MailetException

public MailetException()
Constructs a new mailet exception.


MailetException

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


MailetException

public MailetException(String message,
                       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 © 1999-2002 Apache Jakarta Project. All Rights Reserved."