org.dbunit.dataset
Class NoSuchColumnException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.dbunit.DatabaseUnitException
              extended by org.dbunit.dataset.DataSetException
                  extended by org.dbunit.dataset.NoSuchColumnException
All Implemented Interfaces:
Serializable

public class NoSuchColumnException
extends DataSetException

Thrown to indicate that a database column has been accessed that does not exist.

Since:
Feb 17, 2002
Version:
$Revision: 718 $
Author:
Manuel Laflamme
See Also:
Serialized Form

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

NoSuchColumnException

public NoSuchColumnException()
Deprecated. since 2.3.0. Prefer constructor taking a table/columnName as argument


NoSuchColumnException

public NoSuchColumnException(String msg)
Deprecated. since 2.3.0. Prefer constructor taking a table/columnName as argument


NoSuchColumnException

public NoSuchColumnException(String tableName,
                             String columnName)
Creates an exception using the given table name + column name

Parameters:
tableName - table in which the column was not found. Can be null
columnName - the column that was not found
Since:
2.3.0

NoSuchColumnException

public NoSuchColumnException(String tableName,
                             String columnName,
                             String msg)
Creates an exception using the given table name + column name

Parameters:
tableName - table in which the column was not found. Can be null
columnName - the column that was not found
msg - Additional message to append to the exception text
Since:
2.3.0

NoSuchColumnException

public NoSuchColumnException(String msg,
                             Throwable e)
Deprecated. since 2.3.0. Prefer constructor taking a table/columnName as argument

Parameters:
msg -
e -

NoSuchColumnException

public NoSuchColumnException(Throwable e)
Deprecated. since 2.3.0. Prefer constructor taking a table/columnName as argument

Parameters:
e -


Copyright © 2002-2012. All Rights Reserved.