|
||||||||||
| 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
org.idoox.security.util.RuntimeWrappedException
This exception is able to contain another exception inside.
It overrides useful methods such as printStackTrace
to show stack trace of exception inside.
| Constructor Summary | |
RuntimeWrappedException()
creates an exception |
|
RuntimeWrappedException(java.lang.String message)
creates an exception |
|
RuntimeWrappedException(java.lang.String message,
java.lang.Throwable reason)
creates an exception |
|
RuntimeWrappedException(java.lang.Throwable reason)
creates an exception |
|
| Method Summary | |
java.lang.Throwable |
getException()
accesses the wrapped exception |
java.lang.Throwable |
getRootException()
returns the originally wrapped exception in a sequence of wrappers. |
void |
printStackTrace()
prints stack trace to stderr |
void |
printStackTrace(java.io.PrintStream p)
prints stack trace |
void |
printStackTrace(java.io.PrintWriter p)
prints stack trace |
| 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 |
| Constructor Detail |
public RuntimeWrappedException()
public RuntimeWrappedException(java.lang.String message)
message - the message
public RuntimeWrappedException(java.lang.String message,
java.lang.Throwable reason)
message - the messagereason - the wrapped exceptionpublic RuntimeWrappedException(java.lang.Throwable reason)
reason - the wrapped exception| Method Detail |
public void printStackTrace()
public void printStackTrace(java.io.PrintStream p)
p - the print stream where the error will be printed topublic void printStackTrace(java.io.PrintWriter p)
p - the print writer where the error will be printed topublic java.lang.Throwable getException()
public java.lang.Throwable getRootException()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||