com.triactive.jdo.sco
Class IncompatibleFieldTypeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDOUserException
                          extended bycom.triactive.jdo.sco.SCOException
                              extended bycom.triactive.jdo.sco.IncompatibleTypeException
                                  extended bycom.triactive.jdo.sco.IncompatibleFieldTypeException
All Implemented Interfaces:
java.io.Serializable

public class IncompatibleFieldTypeException
extends IncompatibleTypeException

A IncompatibleFieldTypeException is thrown if an incompatible field type is specified in the construction of a second-class object instance.

Author:
Mike Martin
See Also:
Set, Map, Serialized Form

Field Summary
 
Fields inherited from class javax.jdo.JDOException
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
IncompatibleFieldTypeException(StateManager ownerSM, java.lang.String fieldName, java.lang.Class requiredType, java.lang.Class requestedType)
          Constructs an incompatible field type exception.
 
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IncompatibleFieldTypeException

public IncompatibleFieldTypeException(StateManager ownerSM,
                                      java.lang.String fieldName,
                                      java.lang.Class requiredType,
                                      java.lang.Class requestedType)
Constructs an incompatible field type exception.

Parameters:
ownerSM - The StateManager of the object owning the SCO field.
fieldName - The name of the SCO field.
requiredType - The required type of the field.
requestedType - The requested type of the field.


Copyright © 2001 TriActive, Inc. All Rights Reserved.