Class Neo4JCommunicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jnosql.communication.CommunicationException
org.eclipse.jnosql.databases.neo4j.communication.Neo4JCommunicationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EdgeCommunicationException
public class Neo4JCommunicationException
extends org.eclipse.jnosql.communication.CommunicationException
Exception representing general communication errors when interacting with a Neo4j database.
This exception is used as a base for more specific exceptions related to Neo4j operations,
such as Cypher syntax errors, transaction failures, or connectivity issues.
- Invalid Cypher query syntax.
- Transaction failures during read or write operations.
- Connection timeouts or authentication failures.
- Inconsistent data constraints within the graph.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNeo4JCommunicationException(String message) Constructs a new exception with the specified detail message.Neo4JCommunicationException(String message, Throwable exception) Constructs a new exception with the specified detail message and 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
-
Neo4JCommunicationException
Constructs a new exception with the specified detail message.- Parameters:
message- the detail message
-
Neo4JCommunicationException
Constructs a new exception with the specified detail message and cause.- Parameters:
message- the detail messageexception- the cause
-