com.triactive.jdo.sco
Class IncompatibleFieldTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jdo.JDOException
                  extended by javax.jdo.JDOCanRetryException
                      extended by javax.jdo.JDOUserException
                          extended by com.triactive.jdo.sco.SCOException
                              extended by com.triactive.jdo.sco.IncompatibleTypeException
                                  extended by com.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:
Serialized Form

Constructor Summary
IncompatibleFieldTypeException(SCO sco, java.lang.Class expected, java.lang.Class actual)
          Constructs an incompatible field type exception.
 
Method Summary
 
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(SCO sco,
                                      java.lang.Class expected,
                                      java.lang.Class actual)
Constructs an incompatible field type exception.

Parameters:
sco - The second-class object.
expected - The expected type.
actual - The actual type.


Copyright ? 2001-2007 The TJDO Project All Rights Reserved.