Package org.dbunit
Class DatabaseUnitRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.dbunit.DatabaseUnitRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CsvParserException,IllegalInputCharacterException,PipelineException,SqlLoaderControlParserException
- Since:
- 1.0
- Version:
- $Revision$ $Date$
- Author:
- Manuel Laflamme, Last changed by: $Author$
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs anDatabaseUnitRuntimeExceptionwith no specified detail message and no encapsulated exception.Constructs anDatabaseUnitRuntimeExceptionwith the specified detail message and no encapsulated exception.DatabaseUnitRuntimeException(String msg, Throwable cause) Constructs anDatabaseUnitRuntimeExceptionwith the specified detail message and encapsulated exception.Constructs anDatabaseUnitRuntimeExceptionwith the encapsulated exception and use its message 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
-
DatabaseUnitRuntimeException
public DatabaseUnitRuntimeException()Constructs anDatabaseUnitRuntimeExceptionwith no specified detail message and no encapsulated exception. -
DatabaseUnitRuntimeException
Constructs anDatabaseUnitRuntimeExceptionwith the specified detail message and no encapsulated exception.- Parameters:
msg- Exception message
-
DatabaseUnitRuntimeException
Constructs anDatabaseUnitRuntimeExceptionwith the specified detail message and encapsulated exception.- Parameters:
msg-cause- The cause of this exception
-
DatabaseUnitRuntimeException
Constructs anDatabaseUnitRuntimeExceptionwith the encapsulated exception and use its message as detail message.- Parameters:
cause- The cause of this exception
-
-
Method Details
-
getException
Deprecated.UseThrowable.getCause()insteadReturns the encapsulated exception ornullif none.
-
Throwable.getCause()instead