Class ExceptionAdapter
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.resteasy.core.ExceptionAdapter
- All Implemented Interfaces:
Serializable
A ExceptionAdapter.
- Version:
- $Revision: $
- Author:
- Ryan J. McDonough
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate a new ExceptionAdapter.ExceptionAdapter
(String message, Exception e) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Prints stack trace.void
Prints stack trace.void
Prints stack trace.void
rethrow()
Rethrows the original exception class.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
ExceptionAdapter
-
ExceptionAdapter
-
-
Method Details
-
printStackTrace
public void printStackTrace()Prints stack trace.- Overrides:
printStackTrace
in classThrowable
- See Also:
-
printStackTrace
Prints stack trace.- Overrides:
printStackTrace
in classThrowable
- Parameters:
s
- print stream- See Also:
-
printStackTrace
Prints stack trace.- Overrides:
printStackTrace
in classThrowable
- Parameters:
s
- print writer- See Also:
-
rethrow
-