Class ResourceConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.gerrit.extensions.restapi.RestApiException
com.google.gerrit.extensions.restapi.ResourceConflictException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IntegrationConflictException
,MergeConflictException
,MergeIdenticalTreeException
,SubmoduleConflictException
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 Summary
Constructors -
Method Summary
Methods inherited from class com.google.gerrit.extensions.restapi.RestApiException
caching, setCaching, wrap
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourceConflictException
- Parameters:
msg
- message to return to the client describing the error.
-
ResourceConflictException
- Parameters:
msg
- message to return to the client describing the error.
-