|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusDataStoreException
org.datanucleus.store.exceptions.DatastoreValidationException
org.datanucleus.store.rdbms.exceptions.IncompatibleDataTypeException
public class IncompatibleDataTypeException
A IncompatibleDataTypeException is thrown if a column is detected to have an incompatible type in the database during schema validation.
Column,
Serialized Form| Field Summary |
|---|
| Fields inherited from class org.datanucleus.store.exceptions.DatastoreValidationException |
|---|
LOCALISER |
| Constructor Summary | |
|---|---|
IncompatibleDataTypeException(Column column,
int expectedType,
int actualType)
Constructs an incompatible data type 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 |
|---|
public IncompatibleDataTypeException(Column column,
int expectedType,
int actualType)
column - The column having an incompatible data type.expectedType - The expected java.sql.Type of the column taken from the metadata.actualType - The actual java.sql.Type of the column taken from the database.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||