org.enhydra.servlet
Class DirectorException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byorg.enhydra.servlet.DirectorException
All Implemented Interfaces:
java.io.Serializable

public class DirectorException
extends java.lang.Error

See Also:
Serialized Form

Constructor Summary
DirectorException(java.lang.Exception except)
          Constucts with an existing exception or error.
 
Method Summary
 java.lang.Exception getException()
          Get the exception that occured.
 java.lang.String getLocalizedMessage()
          Get the localized message of the encapsulate exception.
 java.lang.String getMessage()
          Get the detail message of the encapsulate exception.
 void printStackTrace()
          Call the encapsulated object printStackTrack method with output to the standard error string.
 void printStackTrace(java.io.PrintStream str)
          Call the encapsulated object printStackTrack method with output to a specified stream.
 void printStackTrace(java.io.PrintWriter pw)
          Call the encapsulated object printStackTrack method with output to a specified stream print writer.
 java.lang.String toString()
          Returns a string representation that includes this object and the encapsulated object.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DirectorException

public DirectorException(java.lang.Exception except)
Constucts with an existing exception or error.

Parameters:
except - - Exception to encapsulate.
Method Detail

getException

public java.lang.Exception getException()
Get the exception that occured.

Returns:
A reference to the exception.

getMessage

public java.lang.String getMessage()
Get the detail message of the encapsulate exception.

Returns:
The detail message

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Get the localized message of the encapsulate exception.

Returns:
The detail message

toString

public java.lang.String toString()
Returns a string representation that includes this object and the encapsulated object.

Returns:
The string representation.

printStackTrace

public void printStackTrace()
Call the encapsulated object printStackTrack method with output to the standard error string.


printStackTrace

public void printStackTrace(java.io.PrintStream str)
Call the encapsulated object printStackTrack method with output to a specified stream.


printStackTrace

public void printStackTrace(java.io.PrintWriter pw)
Call the encapsulated object printStackTrack method with output to a specified stream print writer.