public class AccessDeniedException extends ResourceException
Modifier | Constructor and Description |
---|---|
|
AccessDeniedException(IRid rid,
String permissionName,
String userId)
Construct object of class AccessDeniedException.
|
|
AccessDeniedException(IRid rid,
String permissionName,
String userId,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException.
|
protected |
AccessDeniedException(IRid rid,
String permissionName,
String userId,
ResourceAccessor resourceAccessor,
String key)
Construct object of class AccessDeniedException.
|
protected |
AccessDeniedException(IRid rid,
String permissionName,
String userId,
ResourceAccessor resourceAccessor,
String key,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException.
|
protected |
AccessDeniedException(IRid rid,
String permissionName,
String userId,
ResourceAccessor resourceAccessor,
String key,
Object[] args)
Construct object of class AccessDeniedException.
|
protected |
AccessDeniedException(IRid rid,
String permissionName,
String userId,
ResourceAccessor resourceAccessor,
String key,
Object[] args,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException.
|
protected |
AccessDeniedException(IRid rid,
String permissionName,
String userId,
ResourceAccessor resourceAccessor,
String key,
Object[] args,
Throwable rootCause)
Construct object of class AccessDeniedException.
|
protected |
AccessDeniedException(IRid rid,
String permissionName,
String userId,
ResourceAccessor resourceAccessor,
String key,
Object[] args,
Throwable rootCause,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException.
|
protected |
AccessDeniedException(IRid rid,
String permissionName,
String userId,
ResourceAccessor resourceAccessor,
String key,
Throwable rootCause)
Construct object of class AccessDeniedException.
|
protected |
AccessDeniedException(IRid rid,
String permissionName,
String userId,
ResourceAccessor resourceAccessor,
String key,
Throwable rootCause,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException.
|
protected |
AccessDeniedException(IRid rid,
String permissionName,
String userId,
ResourceMessage message)
Construct object of class AccessDeniedException.
|
protected |
AccessDeniedException(IRid rid,
String permissionName,
String userId,
ResourceMessage message,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException.
|
protected |
AccessDeniedException(IRid rid,
String permissionName,
String userId,
ResourceMessage message,
Throwable rootCause)
Construct object of class AccessDeniedException.
|
protected |
AccessDeniedException(IRid rid,
String permissionName,
String userId,
ResourceMessage message,
Throwable rootCause,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException.
|
|
AccessDeniedException(IRid rid,
String permissionName,
String userId,
String message)
Construct object of class AccessDeniedException.
|
|
AccessDeniedException(IRid rid,
String permissionName,
String userId,
String message,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException.
|
|
AccessDeniedException(IRid rid,
String permissionName,
String userId,
String message,
Object[] args)
Construct object of class AccessDeniedException.
|
|
AccessDeniedException(IRid rid,
String permissionName,
String userId,
String message,
Object[] args,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException.
|
|
AccessDeniedException(IRid rid,
String permissionName,
String userId,
String message,
Object[] args,
Throwable rootCause)
Construct object of class AccessDeniedException.
|
|
AccessDeniedException(IRid rid,
String permissionName,
String userId,
String message,
Object[] args,
Throwable rootCause,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException.
|
|
AccessDeniedException(IRid rid,
String permissionName,
String userId,
String message,
Throwable rootCause)
Construct object of class AccessDeniedException.
|
|
AccessDeniedException(IRid rid,
String permissionName,
String userId,
String message,
Throwable rootCause,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException.
|
|
AccessDeniedException(IRid rid,
String permissionName,
String userId,
Throwable rootCause)
Construct object of class AccessDeniedException.
|
|
AccessDeniedException(IRid rid,
String permissionName,
String userId,
Throwable rootCause,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException.
|
Modifier and Type | Method and Description |
---|---|
String |
getPermissionName()
Get name of the permission that was not granted.
|
String |
getUserId()
Get id of the user which had not the permission.
|
getRID
finallyLocalize, finallyLocalize, finallyLocalize, finallyLocalize, getCause, getLocalizableMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLogCategory, getLogLocation, getLogSeverity, getMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedStackTraceString, getStackTraceString, getSystemStackTraceString, initCause, log, printStackTrace, printStackTrace, printStackTrace, restoreLogSettings, setLogSettings, trace, trace
addSuppressed, fillInStackTrace, getStackTrace, getSuppressed, setStackTrace, toString
public AccessDeniedException(IRid rid, String permissionName, String userId)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionpublic AccessDeniedException(IRid rid, String permissionName, String userId, boolean logExceptionOnCreation)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionlogExceptionOnCreation
- when true log the exception now during its
constructionpublic AccessDeniedException(IRid rid, String permissionName, String userId, Throwable rootCause)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionrootCause
- throwable object which caused this exceptionpublic AccessDeniedException(IRid rid, String permissionName, String userId, Throwable rootCause, boolean logExceptionOnCreation)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionrootCause
- throwable object which caused this exceptionlogExceptionOnCreation
- when true log the exception now during its
constructionpublic AccessDeniedException(IRid rid, String permissionName, String userId, String message)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionmessage
- not localized messagepublic AccessDeniedException(IRid rid, String permissionName, String userId, String message, Object[] args)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionmessage
- not localized messageargs
- message arguments inserted by MessageFormat meanspublic AccessDeniedException(IRid rid, String permissionName, String userId, String message, Throwable rootCause)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionmessage
- not localized messagerootCause
- throwable object which caused this exceptionpublic AccessDeniedException(IRid rid, String permissionName, String userId, String message, Object[] args, Throwable rootCause)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionmessage
- not localized messageargs
- message arguments inserted by MessageFormat meansrootCause
- throwable object which caused this exceptionpublic AccessDeniedException(IRid rid, String permissionName, String userId, String message, boolean logExceptionOnCreation)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionmessage
- not localized messagelogExceptionOnCreation
- when true log the exception now during its
constructionpublic AccessDeniedException(IRid rid, String permissionName, String userId, String message, Object[] args, boolean logExceptionOnCreation)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionmessage
- not localized messageargs
- message arguments inserted by MessageFormat meanslogExceptionOnCreation
- when true log the exception now during its
constructionpublic AccessDeniedException(IRid rid, String permissionName, String userId, String message, Throwable rootCause, boolean logExceptionOnCreation)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionmessage
- not localized messagerootCause
- throwable object which caused this exceptionlogExceptionOnCreation
- when true log the exception now during its
constructionpublic AccessDeniedException(IRid rid, String permissionName, String userId, String message, Object[] args, Throwable rootCause, boolean logExceptionOnCreation)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionmessage
- not localized messageargs
- message arguments inserted by MessageFormat meansrootCause
- throwable object which caused this exceptionlogExceptionOnCreation
- when true log the exception now during its
constructionprotected AccessDeniedException(IRid rid, String permissionName, String userId, ResourceAccessor resourceAccessor, String key)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionresourceAccessor
- resource accessorkey
- resource identifier for localized messageprotected AccessDeniedException(IRid rid, String permissionName, String userId, ResourceAccessor resourceAccessor, String key, Object[] args)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionresourceAccessor
- resource accessorkey
- resource identifier for localized messageargs
- message arguments inserted by MessageFormat meansprotected AccessDeniedException(IRid rid, String permissionName, String userId, ResourceAccessor resourceAccessor, String key, Throwable rootCause)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionresourceAccessor
- resource accessorkey
- resource identifier for localized messagerootCause
- throwable object which caused this exceptionprotected AccessDeniedException(IRid rid, String permissionName, String userId, ResourceAccessor resourceAccessor, String key, Object[] args, Throwable rootCause)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionresourceAccessor
- resource accessorkey
- resource identifier for localized messageargs
- message arguments inserted by MessageFormat meansrootCause
- throwable object which caused this exceptionprotected AccessDeniedException(IRid rid, String permissionName, String userId, ResourceAccessor resourceAccessor, String key, boolean logExceptionOnCreation)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionresourceAccessor
- resource accessorkey
- resource identifier for localized messagelogExceptionOnCreation
- when true log the exception now during its
constructionprotected AccessDeniedException(IRid rid, String permissionName, String userId, ResourceAccessor resourceAccessor, String key, Object[] args, boolean logExceptionOnCreation)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionresourceAccessor
- resource accessorkey
- resource identifier for localized messageargs
- message arguments inserted by MessageFormat meanslogExceptionOnCreation
- when true log the exception now during its
constructionprotected AccessDeniedException(IRid rid, String permissionName, String userId, ResourceAccessor resourceAccessor, String key, Throwable rootCause, boolean logExceptionOnCreation)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionresourceAccessor
- resource accessorkey
- resource identifier for localized messagerootCause
- throwable object which caused this exceptionlogExceptionOnCreation
- when true log the exception now during its
constructionprotected AccessDeniedException(IRid rid, String permissionName, String userId, ResourceAccessor resourceAccessor, String key, Object[] args, Throwable rootCause, boolean logExceptionOnCreation)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionresourceAccessor
- resource accessorkey
- resource identifier for localized messageargs
- message arguments inserted by MessageFormat meansrootCause
- throwable object which caused this exceptionlogExceptionOnCreation
- when true log the exception now during its
constructionprotected AccessDeniedException(IRid rid, String permissionName, String userId, ResourceMessage message)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionmessage
- not localized messageprotected AccessDeniedException(IRid rid, String permissionName, String userId, ResourceMessage message, Throwable rootCause)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionmessage
- not localized messagerootCause
- throwable object which caused this exceptionprotected AccessDeniedException(IRid rid, String permissionName, String userId, ResourceMessage message, boolean logExceptionOnCreation)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionmessage
- not localized messagelogExceptionOnCreation
- when true log the exception now during its
constructionprotected AccessDeniedException(IRid rid, String permissionName, String userId, ResourceMessage message, Throwable rootCause, boolean logExceptionOnCreation)
rid
- resource id of the resource this exception is associated with
(if any)permissionName
- name of the permission that was not granteduserId
- id of the user which had not the permissionmessage
- not localized messagerootCause
- throwable object which caused this exceptionlogExceptionOnCreation
- when true log the exception now during its
constructionpublic String getPermissionName()
public String getUserId()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice