org.datanucleus.store.query
Class QueryNotUniqueException

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

public class QueryNotUniqueException
extends NucleusUserException

This exception is thrown when a user runs a Query and has marked it as UNIQUE, but it returns more than 1 object.

See Also:
Serialized Form

Field Summary
protected static Localiser LOCALISER
           
 
Constructor Summary
QueryNotUniqueException()
          Constructs the exception, populating the correct message.
 
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
 

Field Detail

LOCALISER

protected static final Localiser LOCALISER
Constructor Detail

QueryNotUniqueException

public QueryNotUniqueException()
Constructs the exception, populating the correct message.



Copyright © 2009. All Rights Reserved.