Class QueryNotUniqueException

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


protected static final Localiser LOCALISER
Constructor Detail


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

Copyright © 2010. All Rights Reserved.