Package org.dbunit
Class DatabaseUnitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.dbunit.DatabaseUnitException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DataSetException,ExclusiveTransactionException,SearchException
- Version:
- $Revision$
- Author:
- Manuel Laflamme
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs anDatabaseUnitExceptionwith no detail message and no encapsulated exception.Constructs anDatabaseUnitExceptionwith the specified detail message and no encapsulated exception.DatabaseUnitException(String msg, Throwable e) Constructs anDatabaseUnitExceptionwith the specified detail message and encapsulated exception.Constructs anDatabaseUnitExceptionwith the encapsulated exception and use string representation as detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DatabaseUnitException
public DatabaseUnitException()Constructs anDatabaseUnitExceptionwith no detail message and no encapsulated exception. -
DatabaseUnitException
Constructs anDatabaseUnitExceptionwith the specified detail message and no encapsulated exception. -
DatabaseUnitException
Constructs anDatabaseUnitExceptionwith the specified detail message and encapsulated exception. -
DatabaseUnitException
Constructs anDatabaseUnitExceptionwith the encapsulated exception and use string representation as detail message.
-
-
Method Details
-
getException
Deprecated.UseThrowable.getCause()to retrieve the nested exceptionReturns the nested exception ornullif none.
-
Throwable.getCause()to retrieve the nested exception