Name

JspException

Synopsis

The JspException class is the superclass for all JSP-related exceptions

Synopsis

Class Name:

javax.servlet.jsp.JspException

Extends:

java.lang.Exception

Implements:

Java.io.Serializable

Implemented by:

Internal container-dependent class. Most containers use the reference implementation of the class (developed in the Apache Jakarta project).

Constructors

public JspException( )

Creates a new JspException instance.

public JspException(String msg)

Creates a new JspException instance with the specified message.

public JspException(String msg, Throwable rootCause)

Creates a new JspException instance with the specified message and root cause.

public JspException(Throwable rootCause)

Creates a new JspException instance with the specified root cause.

Methods

public Throwable getRootCause( )

Returns the root cause for this exception.

Get JavaServer Pages, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.