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,- ResourceConflictException,- ResourceNotFoundException,- UnprocessableEntityException
 
 public class RestApiException extends Exception Root exception type for JSON API failures.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description RestApiException()RestApiException(String msg)RestApiException(String msg, Throwable cause)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheControlcaching()<T extends RestApiException>
 Tcaching(CacheControl c)- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Method Detail- 
cachingpublic CacheControl caching() 
 - 
cachingpublic <T extends RestApiException> T caching(CacheControl c) 
 
- 
 
-