Class EdgeCommunicationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jnosql.communication.CommunicationException
org.eclipse.jnosql.databases.neo4j.communication.Neo4JCommunicationException
org.eclipse.jnosql.databases.neo4j.communication.EdgeCommunicationException
All Implemented Interfaces:
Serializable

public class EdgeCommunicationException extends Neo4JCommunicationException
Exception thrown when an issue occurs with edge (relationship) operations in Neo4j. This exception is raised in cases where an edge cannot be created or removed due to missing nodes, constraint violations, or other graph-related inconsistencies.
  • Attempting to create an edge where either the source or target entity does not exist.
  • Removing an edge that is not found in the graph.
  • Trying to enforce an invalid relationship constraint.
See Also:
  • Constructor Details

    • EdgeCommunicationException

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

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