Package org.neo4j.ogm.exception
Class CypherException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.neo4j.ogm.exception.CypherException
- All Implemented Interfaces:
Serializable
An exception raised when executing a Cypher query
- Author:
- Luanne Misquitta, Michael J. Simons
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCypherException(String code, String description) CypherException(String code, String description, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CypherException
- Parameters:
code-description-- Since:
- 3.1.6
-
CypherException
- Parameters:
code- Error code / text as returned by the database.description- Description as returned by the database.cause- The root cause.- Since:
- 3.1.6
-
-
Method Details
-
getCode
The Neo4j error status code- Returns:
- the neo4j error status code
-
getDescription
The error description- Returns:
- the error description
-