org.benow.repository
Class NoSuchObjectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.benow.repository.ObjectRepositoryException
              extended by org.benow.repository.NoSuchObjectException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchObjectException
extends ObjectRepositoryException

Thrown when querying for a single object that is not found.

Author:
andy
See Also:
ObjectRepositoryConnection.getObject(org.benow.repository.query.QueryContext, Transaction), Serialized Form

Constructor Summary
NoSuchObjectException(QueryContext context)
           
NoSuchObjectException(java.lang.String string)
           
NoSuchObjectException(java.lang.String msg, java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.benow.repository.ObjectRepositoryException
getMessage, getNestedException, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchObjectException

public NoSuchObjectException(QueryContext context)

NoSuchObjectException

public NoSuchObjectException(java.lang.String msg,
                             java.lang.Throwable cause)
Parameters:
msg -
cause -

NoSuchObjectException

public NoSuchObjectException(java.lang.String string)