|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--net.larsan.norna.util.NestedException
A nested exception base class.
| Constructor Summary | |
NestedException()
Create exception |
|
NestedException(java.lang.String msg)
Create exception |
|
NestedException(java.lang.String msg,
java.lang.Throwable error)
Create exception |
|
NestedException(java.lang.Throwable th)
Create exception |
|
| Method Summary | |
java.lang.String |
getMessage()
Get exception message |
java.lang.Throwable |
getNestedException()
Get nested error, this returns null if there is no nested exception |
java.lang.String |
getNestedMessage()
Get nested message, this returns null if there is no nested exception |
void |
printStackTrace()
Print stack trace to system err. |
void |
printStackTrace(java.io.PrintStream ps)
Print stack trace |
void |
printStackTrace(java.io.PrintWriter wr)
Print stack trace |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NestedException()
public NestedException(java.lang.String msg)
public NestedException(java.lang.Throwable th)
public NestedException(java.lang.String msg,
java.lang.Throwable error)
| Method Detail |
public java.lang.Throwable getNestedException()
public java.lang.String getNestedMessage()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter wr)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream ps)
printStackTrace in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||