public class ServletException
extends java.lang.Exception
try {
...;
} catch (Exception e) {
throw new ServletException(e);
}
Constructor and Description |
---|
ServletException()
Basic exception constructor.
|
ServletException(java.lang.String message)
Create a new servlet exception with a message.
|
ServletException(java.lang.String message,
java.lang.Throwable cause)
Create a new servlet exception with a message and a wrapped exception.
|
ServletException(java.lang.Throwable cause)
Create a new servlet exception with a wrapped exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getRootCause() |
public ServletException()
public ServletException(java.lang.String message)
public ServletException(java.lang.String message, java.lang.Throwable cause)
public ServletException(java.lang.Throwable cause)