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
public class PreconditionFailedException extends RestApiException
Resource state does not match request state (HTTP 412 Precondition failed).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PreconditionFailedException(String msg)
-
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 Detail
-
PreconditionFailedException
public PreconditionFailedException(String msg)
- Parameters:
msg
- message to return to the client describing the error.
-
-