Class PermissionDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.gerrit.extensions.restapi.RestApiException
com.google.gerrit.extensions.restapi.AuthException
com.google.gerrit.server.permissions.PermissionDeniedException
- All Implemented Interfaces:
Serializable
This signals that some permission check failed. The message is short so it can print on a
single-line in the Git output.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPermissionDeniedException
(GerritPermission permission) PermissionDeniedException
(GerritPermission permission, String resource) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class com.google.gerrit.extensions.restapi.AuthException
getAdvice, setAdvice
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
-
Field Details
-
MESSAGE_PREFIX
- See Also:
-
-
Constructor Details
-
PermissionDeniedException
-
PermissionDeniedException
-
-
Method Details
-
describePermission
-
getResource
-
getPermission
-