com.triactive.jdo.sco
Class IncompatibleElementTypeException

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.IncompatibleElementTypeException
All Implemented Interfaces:
java.io.Serializable

public class IncompatibleElementTypeException
extends IncompatibleTypeException

A IncompatibleElementTypeException is thrown if an incompatible element type is specified in the construction of a second-class Collection or Set instance.

Author:
Mike Martin
See Also:
Set, Serialized Form

Constructor Summary
IncompatibleElementTypeException(StateManager ownerSM, java.lang.String fieldName, java.lang.Class requiredType, java.lang.Class requestedType)
          Constructs an incompatible element 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

IncompatibleElementTypeException

public IncompatibleElementTypeException(StateManager ownerSM,
                                        java.lang.String fieldName,
                                        java.lang.Class requiredType,
                                        java.lang.Class requestedType)
Constructs an incompatible element 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 element.
requestedType - The requested type of the element.


Copyright ? 2001 TriActive, Inc. All Rights Reserved.