Exceptions
The javax.servlet.jsp package has two exceptions, JspError and JspException. Each has two methods.
JspError Exception
public class JspError extends JspException
When the JspError exception is caught, output generation should stop and forward the exception to errorpage.
JspError(java.lang.String msg) Method
public JspError(java.lang.String msg)
The JspError(java.lang.String msg) method is a constructor with a message. It returns no value and throws no exceptions.
Parameters
java.lang.String
JspError() Method
public JspError()
This method is a default empty constructor. It has no parameters, returns no value, and throws no exceptions.
JspException Exception
public class JspException extends java.lang.Exception
The JspException ...
Get Pure 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.