Package org.apache.jasper
Class JasperException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- javax.servlet.ServletException
- 
- org.apache.jasper.JasperException
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class JasperException extends ServletException 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:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description JasperException(java.lang.String reason)JasperException(java.lang.String reason, java.lang.Throwable exception)Creates a JasperException with the embedded exception and the reason for throwing a JasperException.JasperException(java.lang.Throwable exception)Creates a JasperException with the embedded exception.
 - 
Method Summary- 
Methods inherited from class javax.servlet.ServletExceptiongetRootCause
 
- 
 
- 
- 
- 
Constructor Detail- 
JasperExceptionpublic JasperException(java.lang.String reason) 
 - 
JasperExceptionpublic JasperException(java.lang.String reason, java.lang.Throwable exception)Creates a JasperException with the embedded exception and the reason for throwing a JasperException.- Parameters:
- reason- The exception message
- exception- The root cause
 
 - 
JasperExceptionpublic JasperException(java.lang.Throwable exception) Creates a JasperException with the embedded exception.- Parameters:
- exception- The root cause
 
 
- 
 
-