org.jpox.sco.exceptions
Class IncompatibleElementTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jdo.JDOException
javax.jdo.JDOCanRetryException
javax.jdo.JDOUserException
org.jpox.sco.exceptions.SCOException
org.jpox.sco.exceptions.IncompatibleTypeException
org.jpox.sco.exceptions.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.
- Version:
- $Revision: 1.2 $
- See Also:
- Serialized Form
Constructor Summary |
IncompatibleElementTypeException(StateManager ownerSM,
java.lang.String fieldName,
java.lang.String requiredTypeName,
java.lang.String requestedTypeName)
Constructs an incompatible element 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 |
IncompatibleElementTypeException
public IncompatibleElementTypeException(StateManager ownerSM,
java.lang.String fieldName,
java.lang.String requiredTypeName,
java.lang.String requestedTypeName)
- Constructs an incompatible element type exception.
- Parameters:
ownerSM
- The StateManager of the object owning the SCO field.fieldName
- The name of the SCO field.requiredTypeName
- Name of required type of the element.requestedTypeName
- Name of requested type of the element.
Copyright © -2007 . All Rights Reserved.