Package org.apache.jasper
Class JasperException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jakarta.servlet.ServletException
org.apache.jasper.JasperException
- All Implemented Interfaces:
- Serializable
Base class for all exceptions generated by the JSP engine. Makes it
 convenient to catch just this at the top-level.
- Author:
- Anil K. Vijendran
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionJasperException(String reason) JasperException(String reason, Throwable exception) Creates a JasperException with the embedded exception and the reason for throwing a JasperException.JasperException(Throwable exception) Creates a JasperException with the embedded exception.
- 
Method SummaryMethods inherited from class jakarta.servlet.ServletExceptiongetRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
JasperException
- 
JasperExceptionCreates a JasperException with the embedded exception and the reason for throwing a JasperException.- Parameters:
- reason- The exception message
- exception- The root cause
 
- 
JasperExceptionCreates a JasperException with the embedded exception.- Parameters:
- exception- The root cause
 
 
-