Package com.google.gerrit.server.submit
Class IntegrationConflictException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.google.gerrit.extensions.restapi.RestApiException
-
- com.google.gerrit.extensions.restapi.ResourceConflictException
-
- com.google.gerrit.server.submit.IntegrationConflictException
-
- All Implemented Interfaces:
Serializable
public class IntegrationConflictException extends ResourceConflictException
Exception to be thrown if integrating (aka merging) a change into the destination branch is not possible due to conflicts.Throwing this exception results in a
409 Conflict
response to the calling user. The exception message is returned as error message to the user.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntegrationConflictException(String msg)
IntegrationConflictException(String msg, Throwable why)
-
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
-
-