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:
java.io.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
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description MissingColumnException(Table table, java.util.Collection columns)
Constructs a missing column exception.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.String
getColumnNameList(java.util.Collection columns)
-
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedException
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MissingColumnException
public MissingColumnException(Table 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.
-
-