Class IncompatibleQueryElementTypeException

  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDOUserException
All Implemented Interfaces:

public class IncompatibleQueryElementTypeException
extends javax.jdo.JDOUserException

A IncompatibleQueryElementTypeException is thrown if a variable used in a query is detected to have an type incompatible with the element type of the collection to which it is being applied.

Mike Martin
See Also:
Query, SetStore, Serialized Form

Constructor Summary
IncompatibleQueryElementTypeException(java.lang.Class expectedType, java.lang.Class actualType)
          Constructs an incompatible query 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

Constructor Detail


public IncompatibleQueryElementTypeException(java.lang.Class expectedType,
                                             java.lang.Class actualType)
Constructs an incompatible query element type exception.

expectedType - The expected element base type.
actualType - The actual element type.

Copyright 2001-2007 The TJDO Project All Rights Reserved.