|
||||||||||
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 blackboard.base.NestedException
public abstract class NestedException
Base exception class for application specific exceptions that wish to hide the underlying exceptions. The original exception is be nested inside this exception so that the application can view details of the problem. This allows the application to be sheilded from the multiple types of exceptions that can be generated from different underlying implementations.
Field Summary | |
---|---|
protected java.lang.Throwable |
_nestedException
|
Constructor Summary | |
---|---|
NestedException(java.lang.String msg)
Constructor |
|
NestedException(java.lang.String msg,
java.lang.Throwable nestedException)
Constructor |
|
NestedException(java.lang.Throwable nestedException)
Constructor |
Method Summary | |
---|---|
java.lang.String |
getFullMessageTrace()
|
java.lang.Throwable |
getNestedException()
Returns Throwable |
void |
printStackTrace()
Prints stack trace to log. |
void |
printStackTrace(java.io.PrintStream s)
printStackTrace |
void |
printStackTrace(java.io.PrintWriter s)
Prints stack trace to given PrintWriter. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.Throwable _nestedException
Constructor Detail |
---|
public NestedException(java.lang.String msg)
public NestedException(java.lang.Throwable nestedException)
public NestedException(java.lang.String msg, java.lang.Throwable nestedException)
Method Detail |
---|
public java.lang.Throwable getNestedException()
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
public java.lang.String getFullMessageTrace()
public void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |