com.sonicsw.mf.common.security
Class ManagePermissionDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sonicsw.mf.common.MFRuntimeException
com.sonicsw.mf.common.security.ManagementPermissionDeniedException
com.sonicsw.mf.common.security.ManagePermissionDeniedException
- All Implemented Interfaces:
- java.io.Serializable
public class ManagePermissionDeniedException
- extends ManagementPermissionDeniedException
Unchecked management exception.
Indicates that a caller attempted to directly or indirectly perform some action
on a container or component but did not have permission to perform that action.
- See Also:
- Serialized Form
Constructor Summary |
ManagePermissionDeniedException(java.lang.String message,
java.lang.String target,
int requiredPermission)
Constructs a new exception with the specified detail message. |
Method Summary |
int |
getRequiredPermission()
Gets the permission that was denied. |
java.lang.String |
getTarget()
Gets the target component to which the permission was denied. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ManagePermissionDeniedException
public ManagePermissionDeniedException(java.lang.String message,
java.lang.String target,
int requiredPermission)
- Constructs a new exception with the specified detail message. The
cause is not initialized, and may subsequently be initialized by
a call to
MFRuntimeException.setLinkedException(java.lang.Exception)
.
- Parameters:
message
- The textural details of why the permission was denied.target
- The target component to which the permission was denied.requiredPermission
- The permission that was denied.- See Also:
IManagePermissionBits
getRequiredPermission
public int getRequiredPermission()
- Gets the permission that was denied.
- See Also:
IManagePermissionBits
getTarget
public java.lang.String getTarget()
- Gets the target component to which the permission was denied.
Copyright © 2001-2012
Progress Software Corporation. All Rights Reserved.
HTML formatted on 13-Mar-2012.