org.jpox.store.exceptions
Class QueryNotUniqueException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDOUserException
                          extended byorg.jpox.store.exceptions.QueryNotUniqueException
All Implemented Interfaces:
java.io.Serializable

public class QueryNotUniqueException
extends javax.jdo.JDOUserException

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

Version:
$Revision: 1.3 $
See Also:
Serialized Form

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

Field Detail

LOCALISER

protected static final Localiser LOCALISER
Constructor Detail

QueryNotUniqueException

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



Copyright © -2007 . All Rights Reserved.