public class UnauthorizedException extends Exception implements HttpErrorStatusProvider
Principal is not authorized to perform an
Action on an EntityId.| Constructor and Description |
|---|
UnauthorizedException(Principal principal,
Action action,
EntityId entityId) |
UnauthorizedException(Principal principal,
EntityId entityId) |
UnauthorizedException(Principal principal,
Set<Action> actions,
EntityId entityId) |
UnauthorizedException(String message) |
| Modifier and Type | Method and Description |
|---|---|
int |
getStatusCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMessagepublic UnauthorizedException(Principal principal, Action action, EntityId entityId)
public UnauthorizedException(Principal principal, Set<Action> actions, EntityId entityId)
public UnauthorizedException(String message)
public int getStatusCode()
getStatusCode in interface HttpErrorStatusProviderCopyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.