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 Details

    • Neo4JCommunicationException

      public Neo4JCommunicationException(String message)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - the detail message
    • Neo4JCommunicationException

      public Neo4JCommunicationException(String message, Throwable exception)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - the detail message
      exception - the cause