NextApp Echo3
v3.0.b4

nextapp.echo.webcontainer
Class WebContainerServletException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by nextapp.echo.webcontainer.WebContainerServletException
All Implemented Interfaces:
java.io.Serializable

public class WebContainerServletException
extends java.lang.RuntimeException

A generic runtime exception to handle circumstances that should almost never happen. This class should be used to wrap checked exceptions that shouldn't be possible to occur, instead of swallowing them.

See Also:
Serialized Form

Constructor Summary
WebContainerServletException(java.lang.String message)
          Creates a new EchoServletException with a description of its cause.
WebContainerServletException(java.lang.String message, java.lang.Throwable cause)
          Creates a new EchoServletException with a description of its cause that wraps another exception.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the wrapped exception that caused this exception to be thrown, if applicable.
 
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

WebContainerServletException

public WebContainerServletException(java.lang.String message)
Creates a new EchoServletException with a description of its cause.

Parameters:
message - a message describing the exception

WebContainerServletException

public WebContainerServletException(java.lang.String message,
                                    java.lang.Throwable cause)
Creates a new EchoServletException with a description of its cause that wraps another exception.

Parameters:
message - a message describing the exception
cause - the exception which caused this exception to be thrown
Method Detail

getCause

public java.lang.Throwable getCause()
Returns the wrapped exception that caused this exception to be thrown, if applicable.

Overrides:
getCause in class java.lang.Throwable
Returns:
the cause of this exception

NextApp Echo3
v3.0.b4