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
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
Throwable.getCause()
and getRootCause()
methods.Exception.Exception(String, Throwable)
public JspException(Throwable cause)
JspException
with the specified cause.
The cause is saved for later retrieval by the
Throwable.getCause()
and getRootCause()
methods.Exception.Exception(Throwable)
public Throwable getRootCause()
Throwable.getCause()
Throwable
that caused this JSP exceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.