IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.em
Class NonUniqueResultException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.ibm.websphere.objectgrid.ObjectGridRuntimeException
                  extended by com.ibm.websphere.objectgrid.em.PersistenceException
                      extended by com.ibm.websphere.objectgrid.em.NonUniqueResultException
All Implemented Interfaces:
IObjectGridException, Serializable

public class NonUniqueResultException
extends PersistenceException

Thrown when Query.getSingleResult() is invoked and there is more than one result from the query. This exception will not cause the current transaction (if active) to be marked for rollback.

Since:
WAS XD 6.1
See Also:
Query.getSingleResult(), Serialized Form

Constructor Summary
NonUniqueResultException()
           
NonUniqueResultException(String message)
           
NonUniqueResultException(String message, Throwable cause)
           
NonUniqueResultException(Throwable cause)
           
 
Method Summary
 
Methods inherited from class com.ibm.websphere.objectgrid.ObjectGridRuntimeException
getCause, initCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NonUniqueResultException

public NonUniqueResultException()
See Also:
PersistenceException.PersistenceException()

NonUniqueResultException

public NonUniqueResultException(String message)
See Also:
PersistenceException.PersistenceException(String)

NonUniqueResultException

public NonUniqueResultException(String message,
                                Throwable cause)
See Also:
PersistenceException.PersistenceException(String, Throwable)

NonUniqueResultException

public NonUniqueResultException(Throwable cause)
See Also:
PersistenceException.PersistenceException(Throwable)

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.