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:
https://issues.apache.org/jira/browse/JCR-1598
,
Serialized Form
Methods inherited from class javax.servlet.ServletException |
getRootCause |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ServletExceptionWithCause
public ServletExceptionWithCause(String message,
Throwable cause)
- Creates a servlet exception with the given message and cause.
- Parameters:
message
- exception messagecause
- cause of the exception
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.