|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ucar.unidata.util.WrapperException
public class WrapperException
Wraps an exception as a RuntimeException
| Constructor Summary | |
|---|---|
WrapperException(String msg,
Throwable inner)
Wrap a throwable in this Exception |
|
WrapperException(Throwable inner)
Wrap a throwable in this Exception |
|
| Method Summary | |
|---|---|
Throwable |
getException()
Get the wrapped exception |
void |
printStackTrace()
Print the stack trace for the wrapped exception |
String |
toString()
Get a String representation of this. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WrapperException(String msg,
Throwable inner)
msg - message to displayinner - wrapped Throwablepublic WrapperException(Throwable inner)
inner - wrapped Throwable| Method Detail |
|---|
public void printStackTrace()
printStackTrace in class Throwablepublic Throwable getException()
public String toString()
toString in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||