javax.servlet.jsp
Class JspException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.servlet.jsp.JspException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
JspTagException, QJspException, SkipPageException

public class JspException
extends java.lang.Exception

A generic JSP exception.

See Also:
Serialized Form

Constructor Summary
JspException()
          Create a JspException
JspException(java.lang.String msg)
          Create a JspException with a message.
JspException(java.lang.String msg, java.lang.Throwable rootCause)
          Create a JspException with a message and a root cause.
JspException(java.lang.Throwable rootCause)
          Create a JspException with a root cause.
 
Method Summary
 java.lang.Throwable getRootCause()
          Returns the root cause of the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JspException

public JspException()
Create a JspException


JspException

public JspException(java.lang.String msg)
Create a JspException with a message.


JspException

public JspException(java.lang.String msg,
                    java.lang.Throwable rootCause)
Create a JspException with a message and a root cause.

Parameters:
msg - the exception message
rootCause - the underlying exception.
Since:
JSP 1.2

JspException

public JspException(java.lang.Throwable rootCause)
Create a JspException with a root cause.

Parameters:
rootCause - the underlying exception.
Since:
JSP 1.2
Method Detail

getRootCause

public java.lang.Throwable getRootCause()
Returns the root cause of the exception.

Since:
JSP 1.2