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:
    Serialized Form
    • Constructor Detail

      • StateConflictException

        public StateConflictException​(String message)
      • StateConflictException

        public StateConflictException​(String message,
                                      Throwable cause)