| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException nextapp.echo2.webrender.WebRenderServletException
WebRenderServletException | public class WebRenderServletException extends RuntimeException (Code) | | 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.
|
Method Summary | |
public Throwable | getCause() Returns the wrapped exception that caused this exception to be thrown. |
WebRenderServletException | public WebRenderServletException(String message)(Code) | | Creates a new EchoServletException with a description of its cause.
Parameters: message - A message describing the exception. |
WebRenderServletException | public WebRenderServletException(String message, Throwable cause)(Code) | | Creates a new EchoServletException with a description of its cause that
wraps another exception.
Parameters: message - A message describing the exception. Parameters: cause - The exception which caused this exception to be thrown. |
getCause | public Throwable getCause()(Code) | | Returns the wrapped exception that caused this exception to be thrown.
If the root cause was not a wrapped exception or is this object, null
is returned.
The cause of this exception. |
|
|
|