Package org.datanucleus.store.types
Class IncompatibleFieldTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusUserException
org.datanucleus.store.types.IncompatibleFieldTypeException
- All Implemented Interfaces:
Serializable
A IncompatibleFieldTypeException is thrown if an incompatible field
type is specified in the construction of a second-class object instance.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIncompatibleFieldTypeException
(String classAndFieldName, String requiredTypeName, String requestedTypeName) Constructs an incompatible field type 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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
IncompatibleFieldTypeException
public IncompatibleFieldTypeException(String classAndFieldName, String requiredTypeName, String requestedTypeName) Constructs an incompatible field type exception.- Parameters:
classAndFieldName
- The name of the class and SCO field.requiredTypeName
- Name of required type of the field.requestedTypeName
- Name of requested type of the field.
-