public class ExceptionAdapter
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
private java.lang.Exception |
originalException |
private static long |
serialVersionUID
The serialVersionUID
|
private java.lang.String |
stackTrace |
Constructor and Description |
---|
ExceptionAdapter(java.lang.Exception e)
Create a new ExceptionAdapter.
|
ExceptionAdapter(java.lang.String message,
java.lang.Exception e) |
Modifier and Type | Method and Description |
---|---|
void |
printStackTrace()
FIXME Comment this
|
void |
printStackTrace(java.io.PrintStream s)
FIXME Comment this
|
void |
printStackTrace(java.io.PrintWriter s)
FIXME Comment this
|
void |
rethrow()
Rethrows the original exception class.
|
private static final long serialVersionUID
private final java.lang.String stackTrace
private java.lang.Exception originalException
public ExceptionAdapter(java.lang.Exception e)
e
- public ExceptionAdapter(java.lang.String message, java.lang.Exception e)
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
java.lang.Throwable#printStackTrace()
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
s
- java.lang.Throwable#printStackTrace(java.io.PrintStream)
public void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
s
- java.lang.Throwable#printStackTrace(java.io.PrintWriter)
public void rethrow() throws java.lang.Exception
java.lang.Exception