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
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 Summary
ConstructorsConstructorDescriptionEdgeCommunicationException(String message) Constructs a new exception with the specified detail message.EdgeCommunicationException(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
-
EdgeCommunicationException
Constructs a new exception with the specified detail message.- Parameters:
message- the detail message
-
EdgeCommunicationException
Constructs a new exception with the specified detail message and cause.- Parameters:
message- the detail messageexception- the cause
-