org.alltimeflashdreamer.mailwebform
Class MailWebFormException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.alltimeflashdreamer.mailwebform.MailWebFormException
All Implemented Interfaces:
Serializable

public class MailWebFormException
extends Exception

Title: MailWebFormException
Description: Application-specific exception, thrown if certain fail conditions within the workflow are met.

Version:
0.9
Author:
Copyright (c) 2001-2004 Florian Steinsiepe, Adrian Zaugg
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
MailWebFormException(String sMessage)
          Constructor simply calls the superclass' constructor using the given message.
MailWebFormException(String sMessage, Throwable cause)
          Constructor simply calls the superclass' constructor using the given message and the given exception/error.
MailWebFormException(Throwable cause)
          Constructor simply calls the superclass' constructor using the given exception/error.
 
Method Summary
 Throwable getCause()
          Returns the cause of this throwable or null if the cause is nonexistent or unknown.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

MailWebFormException

public MailWebFormException(String sMessage)
Constructor simply calls the superclass' constructor using the given message.

Parameters:
sMessage - the message text to be shown to the client

MailWebFormException

public MailWebFormException(String sMessage,
                            Throwable cause)
Constructor simply calls the superclass' constructor using the given message and the given exception/error.

Parameters:
sMessage - the message text to be shown to the client
cause - the exception or error that occurred (may be nested)

MailWebFormException

public MailWebFormException(Throwable cause)
Constructor simply calls the superclass' constructor using the given exception/error.

Parameters:
cause - the exception or error that occurred (may be nested)
Method Detail

getCause

public Throwable getCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown. (The cause is the throwable that caused this throwable to get thrown.)

This implementation returns the cause that was supplied via one of the constructors requiring a Throwable, or that was set after creation with the Throwable.initCause(Throwable) method. While it is typically unnecessary to override this method, a subclass can override it to return a cause set by some other means. This is appropriate for a "legacy chained throwable" that predates the addition of chained exceptions to Throwable. Note that it is not necessary to override any of the PrintStackTrace methods, all of which invoke the getCause method to determine the cause of a throwable.

Note: This method is copied from the Exception implementation in JDK 1.4 to be backwards compatible with earlier versions.

Returns:
the cause of this throwable or null if the cause is nonexistent or unknown.
Since:
1.4