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

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.EntityAlreadyExistsException
All Implemented Interfaces:
Serializable

public class EntityAlreadyExistsException
extends RuntimeException

is thrown on an attempt to create an entity with a name which already exists

Author:
hasan
See Also:
Serialized Form

Constructor Summary
EntityAlreadyExistsException(UriRef entityName)
          creates an exception indicating that an entity with the specified name already exists.
 
Method Summary
 UriRef getEntityName()
           
 
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

EntityAlreadyExistsException

public EntityAlreadyExistsException(UriRef entityName)
creates an exception indicating that an entity with the specified name already exists.

Parameters:
entityName - the name of the entity which already exists
Method Detail

getEntityName

public UriRef getEntityName()
Returns:
the name of the entity which already exists


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