Class ConstraintViolationException

All Implemented Interfaces:
Serializable

public class ConstraintViolationException extends RuntimeException
Thrown when the database is asked to modify data in a way that violates one or more constraints that it is expected to uphold. For instance, if removing a node that still has relationships.
See Also:
  • Constructor Details

    • ConstraintViolationException

      public ConstraintViolationException(String msg)
    • ConstraintViolationException

      public ConstraintViolationException(String msg, Throwable cause)