com.triactive.jdo.store.query
Class IncompatibleQueryElementTypeException

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.store.query.IncompatibleQueryElementTypeException
All Implemented Interfaces:
java.io.Serializable

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.

Author:
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

IncompatibleQueryElementTypeException

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

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


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