Name
exception
Variable name:
exception
Class name:
java.lang.Throwable
Extends:
None
Implements:
java.io.Serializable
Implemented by:
Part of the standard Java library
JSP page type:
Available only in a page marked as an error page using the
page
directive isErrorPage
attribute
Description
The exception
variable is assigned to the subclass
of Throwable
that caused the error page to be
invoked. The Throwable
class is the superclass of
all errors and exceptions in the Java language. Only objects that are
instances of this class (or of one of its subclasses) are thrown by
the Java Virtual Machine or can be thrown by the Java
throw
statement. See the Java documentation at
http://java.sun.com/docs/index.html for a
description of the Throwable
class.
Get JavaServer Pages Pocket Reference 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.