Class JasperException

java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.ServletException
org.apache.sling.scripting.jsp.jasper.JasperException
All Implemented Interfaces:
Serializable

public class JasperException extends javax.servlet.ServletException
Base class for all exceptions generated by the JSP engine. Makes it convienient to catch just this at the top-level.
Author:
Anil K. Vijendran
See Also:
  • Constructor Details

    • JasperException

      public JasperException(String reason)
    • JasperException

      public JasperException(String reason, Throwable exception)
      Creates a JasperException with the embedded exception and the reason for throwing a JasperException
    • JasperException

      public JasperException(Throwable exception)
      Creates a JasperException with the embedded exception