Class RelationshipException

All Implemented Interfaces:
Serializable

@ResponseStatus(CONFLICT) public class RelationshipException extends CrudCraftRuntimeException
409 Conflict - relationship constraint violation. This exception is thrown when an operation violates a relationship constraint, such as attempting to delete an entity that is still referenced by another entity.
See Also:
  • Constructor Details

    • RelationshipException

      public RelationshipException(String message, Throwable cause)
      Constructs a RelationshipException with a default message.
      Parameters:
      message - the detail message