Package org.neo4j.graphdb
Class NotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.neo4j.graphdb.NotFoundException
- All Implemented Interfaces:
Serializable
This exception will be thrown if a request is made to a node, relationship or
property that does not exist. As an example, using
Transaction.getNodeByElementId(java.lang.String)
passing in an id that does not exist
will cause this exception to be thrown.
Entity.getProperty(String)
will also throw this exception
if the given key does not exist.
Another scenario involves multiple concurrent transactions which obtain a reference to the same node or relationship, which is then deleted by one of the transactions. If the deleting transaction commits, then invoking any node or relationship methods within any of the remaining open transactions will cause this exception to be thrown.
- See Also:
-
Constructor Summary
ConstructorDescriptionNotFoundException
(String message) NotFoundException
(String message, Throwable cause) NotFoundException
(Throwable cause)
-
Constructor Details
-
NotFoundException
public NotFoundException() -
NotFoundException
-
NotFoundException
-
NotFoundException
-