org.datanucleus.store.rdbms.exceptions
Class MissingColumnException

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.MissingColumnException
All Implemented Interfaces:
java.io.Serializable

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

A MissingColumnException is thrown if an expected column is not found in the database during schema validation.

See Also:
Column, Serialized Form

Field Summary
 
Fields inherited from class org.datanucleus.store.exceptions.DatastoreValidationException
LOCALISER
 
Constructor Summary
MissingColumnException(org.datanucleus.store.mapped.DatastoreContainerObject table, java.util.Collection columns)
          Constructs a missing 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

MissingColumnException

public MissingColumnException(org.datanucleus.store.mapped.DatastoreContainerObject table,
                              java.util.Collection columns)
Constructs a missing column exception.

Parameters:
table - The table in which column(s) were missing.
columns - The collection of Column(s) that were missing.


Copyright © 2009. All Rights Reserved.