Sonic Management API

com.sonicsw.mf.common.security
Class ConfigurePermissionDeniedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sonicsw.mf.common.MFRuntimeException
                  extended by com.sonicsw.mf.common.security.ManagementPermissionDeniedException
                      extended by com.sonicsw.mf.common.security.ConfigurePermissionDeniedException
All Implemented Interfaces:
java.io.Serializable

public final class ConfigurePermissionDeniedException
extends ManagementPermissionDeniedException

Unchecked management exception.

Indicates that a caller attempted to directly or indirectly perform some action on configuration data stored in the Directory Service but did not have permission to perform that action.

See Also:
Serialized Form

Constructor Summary
ConfigurePermissionDeniedException(java.lang.String message, java.lang.String logicalPath, int requiredPermission)
          Constructs a new exception with the specified detail message.
 
Method Summary
 java.lang.String getLogicalPath()
          Gets the logical path to which the permission was denied (or null if this was a storage path with no logical equivalent).
 int getRequiredPermission()
          Gets the permission that was denied.
 
Methods inherited from class com.sonicsw.mf.common.MFRuntimeException
getMessage
 
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
 

Constructor Detail

ConfigurePermissionDeniedException

public ConfigurePermissionDeniedException(java.lang.String message,
                                          java.lang.String logicalPath,
                                          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.
logicalPath - The logical path to which the permission was denied (or null if this was a storage path with no logical equivalent).
requiredPermission - The permission that was denied.
See Also:
IConfigurePermissionBits
Method Detail

getLogicalPath

public java.lang.String getLogicalPath()
Gets the logical path to which the permission was denied (or null if this was a storage path with no logical equivalent).


getRequiredPermission

public int getRequiredPermission()
Gets the permission that was denied.

See Also:
IManagePermissionBits

Sonic Management API

Copyright © 2001-2010 Progress Software Corporation. All Rights Reserved.
HTML formatted on 07-Mar-2010.