com.triactive.jdo.sco
Class IncompatibleKeyTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jdo.JDOException
javax.jdo.JDOCanRetryException
javax.jdo.JDOUserException
com.triactive.jdo.sco.SCOException
com.triactive.jdo.sco.IncompatibleTypeException
com.triactive.jdo.sco.IncompatibleKeyTypeException
- All Implemented Interfaces:
- java.io.Serializable
public class IncompatibleKeyTypeException
- extends IncompatibleTypeException
A IncompatibleKeyTypeException is thrown if an incompatible key
type is specified in the construction of a second-class Map instance.
- Author:
- Mike Martin
- See Also:
Map
,
Serialized Form
Constructor Summary |
IncompatibleKeyTypeException(StateManager ownerSM,
java.lang.String fieldName,
java.lang.Class requiredType,
java.lang.Class requestedType)
Constructs an incompatible key 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 |
IncompatibleKeyTypeException
public IncompatibleKeyTypeException(StateManager ownerSM,
java.lang.String fieldName,
java.lang.Class requiredType,
java.lang.Class requestedType)
- Constructs an incompatible key 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 key.requestedType
- The requested type of the key.
Copyright ? 2001 TriActive, Inc. All Rights Reserved.