|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException nextapp.echo.webcontainer.WebContainerServletException
public class WebContainerServletException
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.
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 |
---|
public WebContainerServletException(java.lang.String message)
message
- a message describing the exceptionpublic WebContainerServletException(java.lang.String message, java.lang.Throwable cause)
message
- a message describing the exceptioncause
- the exception which caused this exception to be thrownMethod Detail |
---|
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |