public class WrapperException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
WrapperException(java.lang.String msg,
java.lang.Throwable inner)
Wrap a throwable in this Exception
|
WrapperException(java.lang.Throwable inner)
Wrap a throwable in this Exception
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getException()
Get the wrapped exception
|
void |
printStackTrace()
Print the stack trace for the wrapped exception
|
java.lang.String |
toString()
Get a String representation of this.
|
public WrapperException(java.lang.String msg,
java.lang.Throwable inner)
msg - message to displayinner - wrapped Throwablepublic WrapperException(java.lang.Throwable inner)
inner - wrapped Throwablepublic void printStackTrace()
printStackTrace in class java.lang.Throwablepublic java.lang.Throwable getException()
public java.lang.String toString()
toString in class java.lang.Throwable