Class PreconditionFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.gerrit.extensions.restapi.RestApiException
com.google.gerrit.extensions.restapi.PreconditionFailedException
- All Implemented Interfaces:
Serializable
Resource state does not match request state (HTTP 412 Precondition failed).
- 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
-
PreconditionFailedException
- Parameters:
msg
- message to return to the client describing the error.
-
PreconditionFailedException
- Parameters:
msg
- message to return to the client describing the error.cause
- original cause of the failed precondition.
-