Class IncompatibleQueryElementTypeException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusUserException
                      extended by
All Implemented Interfaces:

public class IncompatibleQueryElementTypeException
extends NucleusUserException

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.

See Also:
Query, CollectionStore, Serialized Form

Constructor Summary
IncompatibleQueryElementTypeException(java.lang.String expectedType, java.lang.String actualType)
          Constructs an incompatible query element type exception.
Method Summary
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


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

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

Copyright © 2010. All Rights Reserved.