org.datanucleus.sco
Class IncompatibleFieldTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusUserException
                      extended by org.datanucleus.sco.IncompatibleFieldTypeException
All Implemented Interfaces:
java.io.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
IncompatibleFieldTypeException(java.lang.String classAndFieldName, java.lang.String requiredTypeName, java.lang.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
 
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

IncompatibleFieldTypeException

public IncompatibleFieldTypeException(java.lang.String classAndFieldName,
                                      java.lang.String requiredTypeName,
                                      java.lang.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.


Copyright © 2009. All Rights Reserved.