|
||||||||||
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.dbunit.DatabaseUnitRuntimeException
public class DatabaseUnitRuntimeException
Constructor Summary | |
---|---|
DatabaseUnitRuntimeException()
Constructs an DatabaseUnitRuntimeException with no specified
detail message and no encapsulated exception. |
|
DatabaseUnitRuntimeException(String msg)
Constructs an DatabaseUnitRuntimeException with the specified
detail message and no encapsulated exception. |
|
DatabaseUnitRuntimeException(String msg,
Throwable cause)
Constructs an DatabaseUnitRuntimeException with the specified
detail message and encapsulated exception. |
|
DatabaseUnitRuntimeException(Throwable cause)
Constructs an DatabaseUnitRuntimeException with the encapsulated
exception and use its message as detail message. |
Method Summary | |
---|---|
Throwable |
getException()
Deprecated. Use Throwable.getCause() instead |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DatabaseUnitRuntimeException()
DatabaseUnitRuntimeException
with no specified
detail message and no encapsulated exception.
public DatabaseUnitRuntimeException(String msg)
DatabaseUnitRuntimeException
with the specified
detail message and no encapsulated exception.
msg
- Exception messagepublic DatabaseUnitRuntimeException(String msg, Throwable cause)
DatabaseUnitRuntimeException
with the specified
detail message and encapsulated exception.
msg
- cause
- The cause of this exceptionpublic DatabaseUnitRuntimeException(Throwable cause)
DatabaseUnitRuntimeException
with the encapsulated
exception and use its message as detail message.
cause
- The cause of this exceptionMethod Detail |
---|
public Throwable getException()
Throwable.getCause()
instead
null
if none.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |