|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibatis.common.exception.NestedException
public class NestedException
Nexted exception implementation. Thanks Claus.
Field Summary | |
---|---|
private java.lang.Throwable |
cause
|
Constructor Summary | |
---|---|
NestedException()
Constructor |
|
NestedException(java.lang.String msg)
Constructor |
|
NestedException(java.lang.String msg,
java.lang.Throwable cause)
Constructor |
|
NestedException(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 NestedException()
public NestedException(java.lang.String msg)
msg
- error messagepublic NestedException(java.lang.Throwable cause)
cause
- the nested exception (caused by)public NestedException(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 |