Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`NotInTransactionException()`
`NotInTransactionException(String message)`
`NotInTransactionException(String message, Throwable cause)`
`NotInTransactionException(Throwable cause)`

Method Summary

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

### NotInTransactionException

    public NotInTransactionException()

### NotInTransactionException

    public NotInTransactionException(String message)

### NotInTransactionException

    public NotInTransactionException(String message,
                                     Throwable cause)

### NotInTransactionException

    public NotInTransactionException(Throwable cause)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.