Class StateConflictException

All Implemented Interfaces:
Serializable

public class StateConflictException extends RuntimeException
Project-custom exception that allows outbound APIs to react on backend problems. Shall be thrown to invoke status 409 "Conflict" or whatever is appropriate. Request is in conflict with current state, e.g. referenced version of object is not the last version.
See Also:
  • Constructor Details

    • StateConflictException

      public StateConflictException(String message)
    • StateConflictException

      public StateConflictException(String message, Throwable cause)