org.jpox.sco.exceptions
Class IncompatibleTypeException
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
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- IncompatibleElementTypeException, IncompatibleFieldTypeException, IncompatibleKeyTypeException, IncompatibleValueTypeException
- public class IncompatibleTypeException
- extends SCOException
A IncompatibleTypeException is thrown if an incompatible type
is specified as a parameter in the construction of a second-class object
instance.
- Version:
- $Revision: 1.2 $
- See Also:
- Serialized Form
Constructor Summary |
IncompatibleTypeException(StateManager ownerSM,
java.lang.String fieldName,
java.lang.String parameterName,
java.lang.String requiredTypeName,
java.lang.String requestedTypeName)
Constructs an incompatible 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 |
IncompatibleTypeException
public IncompatibleTypeException(StateManager ownerSM,
java.lang.String fieldName,
java.lang.String parameterName,
java.lang.String requiredTypeName,
java.lang.String requestedTypeName)
- Constructs an incompatible type exception.
- Parameters:
ownerSM
- The StateManager of the object owning the SCO field.fieldName
- The name of the SCO field.parameterName
- The name of the invalid type parameter.requiredTypeName
- Name of required type.requestedTypeName
- Name of requested type.
Copyright © -2007 . All Rights Reserved.