org.neo4j.graphdb
Class NotInTransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.neo4j.graphdb.NotInTransactionException
- All Implemented Interfaces:
- Serializable
public class NotInTransactionException
- extends RuntimeException
An exception that is thrown whenever an API operation that requires a
transaction is executed but no transaction is running.
Note, currently this exception is not guaranteed to be thrown. A read only
operation may succeed if all the data is already cached. A modifying
operation will however always throw this exception if no transaction is
running.
- See Also:
Transaction
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NotInTransactionException
public NotInTransactionException()
NotInTransactionException
public NotInTransactionException(String message)
NotInTransactionException
public NotInTransactionException(String message,
Throwable cause)
NotInTransactionException
public NotInTransactionException(Throwable cause)
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.