org.datanucleus.store.rdbms.exceptions
Class UnexpectedColumnException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusDataStoreException
                      extended by org.datanucleus.store.exceptions.DatastoreValidationException
                          extended by org.datanucleus.store.rdbms.exceptions.UnexpectedColumnException
All Implemented Interfaces:
java.io.Serializable

public class UnexpectedColumnException
extends org.datanucleus.store.exceptions.DatastoreValidationException

A UnexpectedColumnException is thrown if an unexpected column is encountered in the database during schema validation.

Version:
$Revision: 1.3 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.datanucleus.store.exceptions.DatastoreValidationException
LOCALISER
 
Constructor Summary
UnexpectedColumnException(java.lang.String table_name, java.lang.String column_name, java.lang.String schema_name, java.lang.String catalog_name)
          Constructs a unexpected column exception.
 
Method Summary
 
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnexpectedColumnException

public UnexpectedColumnException(java.lang.String table_name,
                                 java.lang.String column_name,
                                 java.lang.String schema_name,
                                 java.lang.String catalog_name)
Constructs a unexpected column exception.

Parameters:
table_name - The table in which the column was found.
column_name - The name of the unexpected column.
schema_name - The schema name
catalog_name - The catalog name


Copyright © 2009. All Rights Reserved.