- 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
public class IncompatibleFieldTypeException extends NucleusUserException
A IncompatibleFieldTypeException is thrown if an incompatible field type is specified in the construction of a second-class object instance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IncompatibleFieldTypeException(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
-
-
-
-
Constructor Detail
-
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.
-
-