Package org.dbunit.database
Class CyclicTablesDependencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.dbunit.DatabaseUnitException
org.dbunit.dataset.DataSetException
org.dbunit.database.CyclicTablesDependencyException
- All Implemented Interfaces:
Serializable
Signals that a set of tables has a foreign-key dependency cycle that cannot be
resolved into a linear ordering.
- Since:
- Mar 23, 2003
- Version:
- $Revision$
- Author:
- Manuel Laflamme
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCyclicTablesDependencyException(String message) Constructs aCyclicTablesDependencyExceptionwith the specified detail message.CyclicTablesDependencyException(String tableName, Set cyclicTableNames) Constructs aCyclicTablesDependencyExceptionfor the given table and its cyclic dependencies. -
Method Summary
Methods inherited from class org.dbunit.DatabaseUnitException
getExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CyclicTablesDependencyException
Constructs aCyclicTablesDependencyExceptionwith the specified detail message.- Parameters:
message- the detail message.
-
CyclicTablesDependencyException
Constructs aCyclicTablesDependencyExceptionfor the given table and its cyclic dependencies.- Parameters:
tableName- the table with a foreign-key dependency cycle.cyclicTableNames- the names of the tables composing the cycle.- Since:
- 2.4.2
-