Class MissingColumnException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.exceptions.NucleusException
-
- org.datanucleus.exceptions.NucleusDataStoreException
-
- org.datanucleus.exceptions.DatastoreValidationException
-
- org.datanucleus.store.rdbms.exceptions.MissingColumnException
-
- All Implemented Interfaces:
Serializable
public class MissingColumnException extends org.datanucleus.exceptions.DatastoreValidationException
A MissingColumnException is thrown if an expected column is not found in the database during schema validation.- See Also:
Column
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MissingColumnException(Table table, 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, setNestedException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MissingColumnException
public MissingColumnException(Table table, 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.
-
-