org.jpox.sco.exceptions
Class IncompatibleValueTypeException

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 org.jpox.sco.exceptions.SCOException
                              extended by org.jpox.sco.exceptions.IncompatibleTypeException
                                  extended by org.jpox.sco.exceptions.IncompatibleValueTypeException
All Implemented Interfaces:
java.io.Serializable

public class IncompatibleValueTypeException
extends IncompatibleTypeException

A IncompatibleValueTypeException is thrown if an incompatible value type is specified in the construction of a second-class Map instance.

Version:
$Revision: 1.2 $
See Also:
Serialized Form

Constructor Summary
IncompatibleValueTypeException(StateManager ownerSM, java.lang.String fieldName, java.lang.String requiredTypeName, java.lang.String requestedTypeName)
          Constructs an incompatible value 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

IncompatibleValueTypeException

public IncompatibleValueTypeException(StateManager ownerSM,
                                      java.lang.String fieldName,
                                      java.lang.String requiredTypeName,
                                      java.lang.String requestedTypeName)
Constructs an incompatible value 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 value.
requestedTypeName - Name of requested type of the value.


Copyright © -2008 . All Rights Reserved.