Class ResourceConflictException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IntegrationConflictException, MergeConflictException, MergeIdenticalTreeException, SubmoduleConflictException

public class ResourceConflictException extends RestApiException
Resource state does not permit requested operation (HTTP 409 Conflict).

RestModifyView implementations may fail with this exception when the named resource does not permit the modification to take place at this time. An example use is trying to abandon a change that is already merged. The change cannot be abandoned once merged so an operation would throw.

See Also:
  • Constructor Details

    • ResourceConflictException

      public ResourceConflictException(String msg)
      Parameters:
      msg - message to return to the client describing the error.
    • ResourceConflictException

      public ResourceConflictException(String msg, Throwable cause)
      Parameters:
      msg - message to return to the client describing the error.