Class AuthException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.gerrit.extensions.restapi.RestApiException
com.google.gerrit.extensions.restapi.AuthException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- PermissionDeniedException
Caller cannot perform the request operation (HTTP 403 Forbidden).
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.google.gerrit.extensions.restapi.RestApiExceptioncaching, setCaching, wrapMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
AuthException- Parameters:
- msg- message to return to the client.
 
- 
AuthException- Parameters:
- msg- message to return to the client.
- cause- cause of this exception.
 
 
- 
- 
Method Details- 
setAdvice
- 
getAdviceAdvice that the user can follow to acquire authorization to perform the action.This may be long-form text with newlines, and may be printed to a terminal, for example in the message stream in response to a push. 
 
-