FileDocCategorySizeDatePackage
JspException.javaAPI DocGlassfish v2 API3715Fri May 04 22:34:24 BST 2007javax.servlet.jsp

JspException

public class JspException extends Exception
A generic exception known to the JSP engine; uncaught JspExceptions will result in an invocation of the errorpage machinery.

Fields Summary
Constructors Summary
public JspException()
Construct a JspException.

    
public JspException(String msg)
Constructs a new JSP exception with the specified message. The message can be written to the server log and/or displayed for the user.

param
msg a String specifying the text of the exception message

	super(msg);
    
public JspException(String message, Throwable cause)
Constructs a new JspException with the specified detail message and cause. The cause is saved for later retrieval by the {@link #getCause()} and {@link #getRootCause()} methods.

see
java.lang.Exception#Exception(String, Throwable)

	super(message, cause);
    
public JspException(Throwable cause)
Constructs a new JspException with the specified cause. The cause is saved for later retrieval by the {@link #getCause()} and {@link #getRootCause()} methods.

see
java.lang.Exception#Exception(Throwable)

	super(cause);
    
Methods Summary
public java.lang.ThrowablegetRootCause()
Returns the exception that caused this JSP exception.

return
the Throwable that caused this JSP exception
deprecated
As of JSP 2.1, replaced by {@link #getCause()}

	return getCause();