Table of Contents

Class Neo4jException

Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll

The base class for all Neo4j exceptions.

[DataContract]
public class Neo4jException : Exception
Inheritance
Neo4jException
Derived
Inherited Members
Extension Methods

Constructors

Neo4jException()

Create a new Neo4jException

Neo4jException(string)

Create a new Neo4jException with an error message

Neo4jException(string, Exception)

Create a new Neo4jException with an error message and an exception.

Neo4jException(string, string)

Create a new Neo4jException with an error code and an error message

Neo4jException(string, string, Exception)

Create a new Neo4jException with an error code, an error message and an exception.

Properties

Code

Gets or sets the code of a Neo4j exception.

GqlClassification

Gets the GQL classification of the exception.

GqlDiagnosticRecord

Gets further information about the status for diagnostic purposes.

GqlRawClassification

The raw classification as received from the server.

GqlStatus

Gets the GQL status of the exception.

GqlStatusDescription

Gets the GQL status description of the exception.

IsRetriable

Gets whether the exception is retryable or not.
Important Note: Methods that use Autocommit transactions
RunAsync(string, Action<TransactionConfigBuilder>),
RunAsync(string, IDictionary<string, object>, Action<TransactionConfigBuilder>),
and
RunAsync(Query, Action<TransactionConfigBuilder>)
are not retryable regardless of this value.