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
 
 public class AuthException extends RestApiException Caller cannot perform the request operation (HTTP 403 Forbidden).- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description AuthException(String msg)AuthException(String msg, Throwable cause)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>getAdvice()Advice that the user can follow to acquire authorization to perform the action.voidsetAdvice(String advice)- 
Methods inherited from class com.google.gerrit.extensions.restapi.RestApiExceptioncaching, setCaching, wrap
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Method Detail- 
setAdvicepublic void setAdvice(String advice) 
 
- 
 
-