com.triactive.jdo.sco
Class IncompatibleTypeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDOUserException
                          extended bycom.triactive.jdo.sco.SCOException
                              extended bycom.triactive.jdo.sco.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 to a second-class object instance.

Author:
Mike Martin
See Also:
Serialized Form

Constructor Summary
IncompatibleTypeException(SCO sco, java.lang.String parameter, java.lang.Class expected, java.lang.Class actual)
          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
 

Constructor Detail

IncompatibleTypeException

public IncompatibleTypeException(SCO sco,
                                 java.lang.String parameter,
                                 java.lang.Class expected,
                                 java.lang.Class actual)
Constructs an incompatible type exception.

Parameters:
sco - The second-class object.
parameter - The name of the parameter whose type was invalid.
expected - The expected type.
actual - The actual type.


Copyright © 2001-2007 The TJDO Project All Rights Reserved.