Class RestApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.gerrit.extensions.restapi.RestApiException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AuthException,- BadRequestException,- MethodNotAllowedException,- PreconditionFailedException,- QuotaException,- ResourceConflictException,- ResourceNotFoundException,- UnprocessableEntityException
Root exception type for REST API failures.
- See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedprotectedRestApiException(String msg) protectedRestApiException(String msg, Throwable cause) 
- 
Method SummaryModifier and TypeMethodDescriptioncaching()protected voidsetCaching(CacheControl caching) static RestApiExceptionMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
RestApiExceptionprotected RestApiException()
- 
RestApiException
- 
RestApiException
 
- 
- 
Method Details- 
wrap
- 
caching
- 
setCaching
 
-