public class ServletException
extends java.lang.Exception
| Constructor and Description |
|---|
ServletException()
Creates a new ServletException.
|
ServletException(java.lang.String message)
Creates a new ServletException with a message.
|
ServletException(java.lang.String message,
java.lang.Throwable cause)
Creates a new ServletException with a message
and what caused the exception.
|
ServletException(java.lang.Throwable cause)
Creates a new ServletException with what caused the exception.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getRootCause()
Gives the Throwable that caused this exception if known, otherwise null.
|
public ServletException()
public ServletException(java.lang.String message)
message - why this exception occuredpublic ServletException(java.lang.String message,
java.lang.Throwable cause)
message - why this exception occuredcause - what made this exception occurpublic ServletException(java.lang.Throwable cause)
message - why this exception occuredcause - what made this exception occur