IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.em
Class NoResultException

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.NoResultException
All Implemented Interfaces:
IObjectGridException, Serializable

public class NoResultException
extends PersistenceException

Thrown when Query.getSingleResult() is invoked and there is no result to return. 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
NoResultException()
           
NoResultException(String message)
           
NoResultException(String message, Throwable cause)
           
NoResultException(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

NoResultException

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

NoResultException

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

NoResultException

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

NoResultException

public NoResultException(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.