|
|||||||||||
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
com.ibatis.common.exception.NestedRuntimeException
Nexted exception implementation. Thanks Claus.
Constructor Summary | |
NestedRuntimeException()
Constructor |
|
NestedRuntimeException(java.lang.String msg)
Constructor |
|
NestedRuntimeException(java.lang.String msg,
java.lang.Throwable cause)
Constructor |
|
NestedRuntimeException(java.lang.Throwable cause)
Constructor |
Method Summary | |
java.lang.Throwable |
getCause()
Gets the causing exception, if any. |
void |
printStackTrace()
Sends a stack trace to System.err (including the root cause, if any) |
void |
printStackTrace(java.io.PrintStream ps)
Sends a stack trace to the PrintStream passed in (including the root cause, if any) |
void |
printStackTrace(java.io.PrintWriter pw)
Sends a stack trace to the PrintWriter passed in (including the root cause, if any) |
java.lang.String |
toString()
Converts the exception to a string representation |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NestedRuntimeException()
public NestedRuntimeException(java.lang.String msg)
msg
- error messagepublic NestedRuntimeException(java.lang.Throwable cause)
cause
- the nested exception (caused by)public NestedRuntimeException(java.lang.String msg, java.lang.Throwable cause)
msg
- error messagecause
- the nested exception (caused by)Method Detail |
public java.lang.Throwable getCause()
public java.lang.String toString()
public void printStackTrace()
public void printStackTrace(java.io.PrintStream ps)
ps
- - the PrintStream to send the output topublic void printStackTrace(java.io.PrintWriter pw)
pw
- - the PrintWriter to send the output to
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |