|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.dbunit.DatabaseUnitException
org.dbunit.dataset.DataSetException
org.dbunit.dataset.NoSuchColumnException
public class NoSuchColumnException
Thrown to indicate that a database column has been accessed that does not exist.
Constructor Summary | |
---|---|
NoSuchColumnException()
Deprecated. since 2.3.0. Prefer constructor taking a table/columnName as argument |
|
NoSuchColumnException(String msg)
Deprecated. since 2.3.0. Prefer constructor taking a table/columnName as argument |
|
NoSuchColumnException(String tableName,
String columnName)
Creates an exception using the given table name + column name |
|
NoSuchColumnException(String tableName,
String columnName,
String msg)
Creates an exception using the given table name + column name |
|
NoSuchColumnException(String msg,
Throwable e)
Deprecated. since 2.3.0. Prefer constructor taking a table/columnName as argument |
|
NoSuchColumnException(Throwable e)
Deprecated. since 2.3.0. Prefer constructor taking a table/columnName as argument |
Method Summary |
---|
Methods inherited from class org.dbunit.DatabaseUnitException |
---|
getException |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NoSuchColumnException()
public NoSuchColumnException(String msg)
public NoSuchColumnException(String tableName, String columnName)
tableName
- table in which the column was not found. Can be nullcolumnName
- the column that was not foundpublic NoSuchColumnException(String tableName, String columnName, String msg)
tableName
- table in which the column was not found. Can be nullcolumnName
- the column that was not foundmsg
- Additional message to append to the exception textpublic NoSuchColumnException(String msg, Throwable e)
msg
- e
- public NoSuchColumnException(Throwable e)
e
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |