Name

JspTagException

Synopsis

Class Name:

javax.servlet.jsp.JspTagException

Extends:

javax.servlet.jsp.JspException

Implements:

None

Implemented by:

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

Description

The JspTagException is intended to be used by a tag handler to indicate some unrecoverable error. This exception is caught by the top level of the JSP page and results in an error page.

Class Summary

public class JspTagException extends JspException {
  // Constructors
  public JspTagException( );
  public JspTagException(String msg);
}

Constructors

public JspTagException( )

Creates a new JspTagException instance.

public JspTagException(String msg)

Creates a new JspTagException instance with the specified message.

Get Java Server Pages 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.