Package org.jboss.resteasy.core
Class ExceptionAdapter
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jboss.resteasy.core.ExceptionAdapter
-
- All Implemented Interfaces:
java.io.Serializable
public class ExceptionAdapter extends java.lang.RuntimeException
A ExceptionAdapter.- Version:
- $Revision: $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Exception
originalException
private static long
serialVersionUID
The serialVersionUIDprivate java.lang.String
stackTrace
-
Constructor Summary
Constructors Constructor Description ExceptionAdapter(java.lang.Exception e)
Create a new ExceptionAdapter.ExceptionAdapter(java.lang.String message, java.lang.Exception e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
printStackTrace()
FIXME Comment thisvoid
printStackTrace(java.io.PrintStream s)
FIXME Comment thisvoid
printStackTrace(java.io.PrintWriter s)
FIXME Comment thisvoid
rethrow()
Rethrows the original exception class.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
The serialVersionUID- See Also:
- Constant Field Values
-
stackTrace
private final java.lang.String stackTrace
-
originalException
private java.lang.Exception originalException
-
-
Method Detail
-
printStackTrace
public void printStackTrace()
FIXME Comment this- Overrides:
printStackTrace
in classjava.lang.Throwable
- See Also:
Throwable.printStackTrace()
-
printStackTrace
public void printStackTrace(java.io.PrintStream s)
FIXME Comment this- Overrides:
printStackTrace
in classjava.lang.Throwable
- Parameters:
s
-- See Also:
Throwable.printStackTrace(java.io.PrintStream)
-
printStackTrace
public void printStackTrace(java.io.PrintWriter s)
FIXME Comment this- Overrides:
printStackTrace
in classjava.lang.Throwable
- Parameters:
s
-- See Also:
Throwable.printStackTrace(java.io.PrintWriter)
-
rethrow
public void rethrow() throws java.lang.Exception
Rethrows the original exception class.- Throws:
java.lang.Exception
-
-