public class JspException extends Exception
Constructor and Description |
---|
JspException()
Construct a JspException.
|
JspException(String msg)
Constructs a new JSP exception with the
specified message.
|
JspException(String message,
Throwable cause)
Constructs a new
JSPException with the specified detail
message and cause. |
JspException(Throwable cause)
Constructs a new
JSPException with the specified cause. |
Modifier and Type | Method and Description |
---|---|
Throwable |
getRootCause()
Deprecated.
As of JSP 2.1, replaced by
java.lang.Throwable.getCause() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public JspException()
public JspException(String msg)
msg
- a String
specifying the text of the exception
messagepublic JspException(String message, Throwable cause)
JSPException
with the specified detail
message and cause. The cause is saved for later retrieval by the
java.lang.Throwable.getCause()
and getRootCause()
methods.message
- a String
containing the text of the
exception messagecause
- the Throwable
exception that
interfered with the JSP's normal operation,
making this JSP exception necessaryException.Exception(String, Throwable)
public JspException(Throwable cause)
JSPException
with the specified cause.
The cause is saved for later retrieval by the
java.lang.Throwable.getCause()
and getRootCause()
methods.cause
- the Throwable
exception that
interfered with the JSP's normal operation, making
the JSP exception necessaryException.Exception(Throwable)
public Throwable getRootCause()
java.lang.Throwable.getCause()
Throwable
that caused this JSP exceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.