Class ConflictException

All Implemented Interfaces:
Serializable

@ResponseStatus(CONFLICT) public class ConflictException extends RuntimeException
Exception thrown when a conflict occurs, such as when trying to create a resource that already exists. This exception results in a 409 Conflict HTTP response status.
See Also:
  • Constructor Details

    • ConflictException

      public ConflictException(String message)