Package org.apache.jackrabbit.j2ee
Class ServletExceptionWithCause
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.ServletException
org.apache.jackrabbit.j2ee.ServletExceptionWithCause
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JcrApiNotFoundException
public class ServletExceptionWithCause
extends javax.servlet.ServletException
Utility class that links
ServletException with support for
the exception chaining mechanism in Throwable.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServletExceptionWithCause(String message, Throwable cause) Creates a servlet exception with the given message and cause. -
Method Summary
Methods inherited from class javax.servlet.ServletException
getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServletExceptionWithCause
Creates a servlet exception with the given message and cause.- Parameters:
message- exception messagecause- cause of the exception
-