org.apache.clerezza.rdf.core.access
Class NoSuchEntityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.clerezza.rdf.core.access.NoSuchEntityException
All Implemented Interfaces:
Serializable

public class NoSuchEntityException
extends RuntimeException

is thrown on an attempt to perform an operation on an entity (i.e. a Graph or MGraph that does not exist.

Author:
reto
See Also:
Serialized Form

Constructor Summary
NoSuchEntityException(UriRef entityName)
          creates an exception indicating that the entity with the specified name does not exist.
 
Method Summary
 UriRef getEntityName()
          the name for which no entity exists.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchEntityException

public NoSuchEntityException(UriRef entityName)
creates an exception indicating that the entity with the specified name does not exist.

Parameters:
entityName - the name for which no entity exists
Method Detail

getEntityName

public UriRef getEntityName()
the name for which no entity exists.

Returns:
the name of the entity that doesn't exist


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.