|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
interface IThrowableWrapper
TODO: javadoc
Any exception that wraps around another exception and wishes to be fully
inspectable by ExceptionCommon should implement this interface.
Note that JDK 1.4+ obsoletes the need for an explicit interface like this,
although the implementation in ExceptionCommon is upwards compatible
with it.
| Method Summary | |
|---|---|
void |
__printStackTrace(java.io.PrintStream ps)
Every exception hierarchy implementing this interface must ensure that this method delegates to super.printStackTrace(ps) where 'super' is the first superclass not implementing IThrowableWrapper. |
void |
__printStackTrace(java.io.PrintWriter pw)
Every exception hierarchy implementing this interface must ensure that this method delegates to super.printStackTrace(pw) where 'super' is the first superclass not implementing IThrowableWrapper. |
java.lang.Throwable |
getCause()
Gets the Throwable being wrapped. |
| Method Detail |
|---|
java.lang.Throwable getCause()
void __printStackTrace(java.io.PrintWriter pw)
ExceptionCommon to avoid infinite
recursion and is not meant to be called by other classes.
void __printStackTrace(java.io.PrintStream ps)
ExceptionCommon to avoid infinite
recursion and is not meant to be called by other classes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||