|
||||||||||
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
public class NestedRuntimeException
Nexted exception implementation. Thanks Claus.
Field Summary | |
---|---|
private java.lang.Throwable |
cause
|
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()
|
void |
printStackTrace(java.io.PrintStream ps)
|
void |
printStackTrace(java.io.PrintWriter pw)
|
java.lang.String |
toString()
|
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 |
Field Detail |
---|
private java.lang.Throwable cause
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()
getCause
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream ps)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter pw)
printStackTrace
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |