Package org.dbunit.dataset
Class NoPrimaryKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.dbunit.DatabaseUnitException
org.dbunit.dataset.DataSetException
org.dbunit.dataset.NoPrimaryKeyException
- All Implemented Interfaces:
Serializable
Signals that a table has no primary key column where one is required.
- Since:
- Feb 19, 2002
- Version:
- $Revision$
- Author:
- Manuel Laflamme
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aNoPrimaryKeyExceptionwith no detail message and no encapsulated exception.Constructs aNoPrimaryKeyExceptionwith the specified detail message and no encapsulated exception.NoPrimaryKeyException(String msg, Throwable e) Constructs aNoPrimaryKeyExceptionwith the specified detail message and encapsulated exception.Constructs aNoPrimaryKeyExceptionwith the encapsulated exception and use string representation as detail message. -
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
-
NoPrimaryKeyException
public NoPrimaryKeyException()Constructs aNoPrimaryKeyExceptionwith no detail message and no encapsulated exception. -
NoPrimaryKeyException
Constructs aNoPrimaryKeyExceptionwith the specified detail message and no encapsulated exception.- Parameters:
msg- the detail message.
-
NoPrimaryKeyException
Constructs aNoPrimaryKeyExceptionwith the specified detail message and encapsulated exception.- Parameters:
msg- the detail message.e- the encapsulated exception.
-
NoPrimaryKeyException
Constructs aNoPrimaryKeyExceptionwith the encapsulated exception and use string representation as detail message.- Parameters:
e- the encapsulated exception.
-