|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
com.sap.netweaver.bc.rf.util.exception.BaseException
|
+--com.sap.netweaver.bc.rf.common.exception.RepositoryException
|
+--com.sap.netweaver.bc.rf.common.exception.ResourceException
|
+--com.sap.netweaver.bc.rf.common.security.AccessDeniedException
Raised if the authorization failed that means the user in the context does not have the required permissions. In addition this excpetion can be raised if an attempt is made to modify a locked or read-only resource.
| Constructor Summary | |
|
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId)
Construct object of class AccessDeniedException. |
|
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException. |
protected |
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.String key)
Construct object of class AccessDeniedException. |
protected |
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.String key,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException. |
protected |
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Object[] args)
Construct object of class AccessDeniedException. |
protected |
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Object[] args,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException. |
protected |
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable rootCause)
Construct object of class AccessDeniedException. |
protected |
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException. |
protected |
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Throwable rootCause)
Construct object of class AccessDeniedException. |
protected |
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException. |
protected |
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceMessage message)
Construct object of class AccessDeniedException. |
protected |
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceMessage message,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException. |
protected |
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceMessage message,
java.lang.Throwable rootCause)
Construct object of class AccessDeniedException. |
protected |
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceMessage message,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException. |
|
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.String message)
Construct object of class AccessDeniedException. |
|
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.String message,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException. |
|
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.String message,
java.lang.Object[] args)
Construct object of class AccessDeniedException. |
|
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.String message,
java.lang.Object[] args,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException. |
|
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.String message,
java.lang.Object[] args,
java.lang.Throwable rootCause)
Construct object of class AccessDeniedException. |
|
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.String message,
java.lang.Object[] args,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException. |
|
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.String message,
java.lang.Throwable rootCause)
Construct object of class AccessDeniedException. |
|
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.String message,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException. |
|
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.Throwable rootCause)
Construct object of class AccessDeniedException. |
|
AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.Throwable rootCause,
boolean logExceptionOnCreation)
Construct object of class AccessDeniedException. |
| Method Summary | |
java.lang.String |
getPermissionName()
Get name of the permission that was not granted. |
java.lang.String |
getUserId()
Get id of the user which had not the permission. |
| Methods inherited from class com.sap.netweaver.bc.rf.common.exception.ResourceException |
getRID |
| Constructor Detail |
public AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.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 permission
public AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.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
construction
public AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.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 exception
public AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.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
construction
public AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.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 message
public AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.String message,
java.lang.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 means
public AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.String message,
java.lang.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 exception
public AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.String message,
java.lang.Object[] args,
java.lang.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 exception
public AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.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
construction
public AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.String message,
java.lang.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
construction
public AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.String message,
java.lang.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
construction
public AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
java.lang.String message,
java.lang.Object[] args,
java.lang.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
construction
protected AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.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 message
protected AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.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 means
protected AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.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 exception
protected AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Object[] args,
java.lang.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 exception
protected AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.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
construction
protected AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.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
construction
protected AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.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
construction
protected AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceAccessor resourceAccessor,
java.lang.String key,
java.lang.Object[] args,
java.lang.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
construction
protected AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.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 message
protected AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceMessage message,
java.lang.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 exception
protected AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.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
construction
protected AccessDeniedException(IRid rid,
java.lang.String permissionName,
java.lang.String userId,
ResourceMessage message,
java.lang.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
construction| Method Detail |
public java.lang.String getPermissionName()
public java.lang.String getUserId()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||