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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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 occurpublic java.lang.Throwable getRootCause()