public class AccessDeniedException extends EventStreamOperationError
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_CODE |
| Constructor and Description |
|---|
AccessDeniedException(String serviceName) |
AccessDeniedException(String serviceName,
String message)
Message constructor may reveal what operation or resource was denied access
or the principal/authN that was rejected
Do not overexpose reason or logic for AccessDenied.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationModelType()
Returns the named model type.
|
getErrorCode, getMessage, getServiceaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitfromJson, isVoid, postFromJson, toPayloadpublic static final String ERROR_CODE
public AccessDeniedException(String serviceName, String message)
serviceName - message - public AccessDeniedException(String serviceName)
public String getApplicationModelType()
Copyright ? 2021. All rights reserved.