public class JspException
extends java.lang.Exception
Constructor and Description |
---|
JspException()
Construct a JspException.
|
JspException(java.lang.String msg)
Constructs a new JSP exception with the specified message.
|
JspException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new
JspException with the specified detail message and cause. |
JspException(java.lang.Throwable cause)
Constructs a new
JspException with the specified cause. |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getRootCause()
Deprecated.
As of JSP 2.1, replaced by
Throwable.getCause() |
public JspException()
public JspException(java.lang.String msg)
msg
- a String
specifying the text of the exception messagepublic JspException(java.lang.String message, java.lang.Throwable cause)
JspException
with the specified detail message and cause.message
- a String
specifying the text of the exception messagecause
- the cause which is saved for later retrieval by the Throwable.getCause()
and
getRootCause()
methods.Exception.Exception(String, Throwable)
public JspException(java.lang.Throwable cause)
JspException
with the specified cause.cause
- the cause which is saved for later retrieval by the Throwable.getCause()
and getRootCause()
methods.Exception.Exception(Throwable)