org.jpox.store.exceptions
Class QueryNotUniqueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jdo.JDOException
                  extended by javax.jdo.JDOCanRetryException
                      extended by javax.jdo.JDOUserException
                          extended by org.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.
 
Method Summary
 
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 © -2008 . All Rights Reserved.