com.sun.identity.policy
Class NoPermissionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sun.identity.policy.ChainedException
                    |
                    +--com.sun.identity.policy.PolicyException
                          |
                          +--com.sun.identity.policy.NoPermissionException
All Implemented Interfaces:
com.sun.identity.common.L10NMessage, java.io.Serializable

public class NoPermissionException
extends PolicyException

Exception thrown if a policy operation attempted could not be done due to insufficient permissions

See Also:
Serialized Form

Fields inherited from class com.sun.identity.policy.PolicyException
CONDITION_COLLECTION, ORGANIZATION, POLICY, REFERRAL_COLLECTION, REFERRAL_TYPE, RULE, SERVICE, USER_COLLECTION
 
Constructor Summary
NoPermissionException()
          No argument constructor
NoPermissionException(java.lang.String msg)
          Constructor
NoPermissionException(java.lang.String rbName, java.lang.String errCode, java.lang.Object[] args)
          Constructor
NoPermissionException(java.lang.String rbName, java.lang.String errCode, java.lang.Object[] args, java.lang.Throwable t)
          Constructor
NoPermissionException(java.lang.Throwable t)
          Constructor
 
Methods inherited from class com.sun.identity.policy.PolicyException
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoPermissionException

public NoPermissionException()
No argument constructor

NoPermissionException

public NoPermissionException(java.lang.String msg)
Constructor
Parameters:
msg - exception message

NoPermissionException

public NoPermissionException(java.lang.String rbName,
                             java.lang.String errCode,
                             java.lang.Object[] args)
Constructor
Parameters:
rbName - Resource bundle name of exception message
errCode - id used with resource bundle to get error message
args - any arguments for message formatting. null if no additional arguments are necessary

NoPermissionException

public NoPermissionException(java.lang.String rbName,
                             java.lang.String errCode,
                             java.lang.Object[] args,
                             java.lang.Throwable t)
Constructor
Parameters:
rbName - Resource bundle name of exception message
errCode - id used with resource bundle to get error message
args - any arguments for message formatting. null if no additional arguments are necessary
t - nested root cause exception

NoPermissionException

public NoPermissionException(java.lang.Throwable t)
Constructor
Parameters:
t - nested root cause exception