org.datanucleus.store.mapped.exceptions
Class IncompatibleQueryElementTypeException

java.lang.Object
  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 org.datanucleus.store.mapped.exceptions.IncompatibleQueryElementTypeException
All Implemented Interfaces:
java.io.Serializable

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

IncompatibleQueryElementTypeException

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

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


Copyright © 2011. All Rights Reserved.