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

public class DatabaseUnitException extends Exception
Version:
$Revision$
Author:
Manuel Laflamme
See Also:
  • Constructor Details

    • DatabaseUnitException

      public DatabaseUnitException()
      Constructs an DatabaseUnitException with no detail message and no encapsulated exception.
    • DatabaseUnitException

      public DatabaseUnitException(String msg)
      Constructs an DatabaseUnitException with the specified detail message and no encapsulated exception.
    • DatabaseUnitException

      public DatabaseUnitException(String msg, Throwable e)
      Constructs an DatabaseUnitException with the specified detail message and encapsulated exception.
    • DatabaseUnitException

      public DatabaseUnitException(Throwable e)
      Constructs an DatabaseUnitException with the encapsulated exception and use string representation as detail message.
  • Method Details

    • getException

      public Throwable getException()
      Deprecated.
      Use Throwable.getCause() to retrieve the nested exception
      Returns the nested exception or null if none.