com.triactive.jdo.store
Class IncompatibleQueryElementTypeException

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 com.triactive.jdo.store.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.
 
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

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 TriActive, Inc. All Rights Reserved.