com.sun.identity.policy
Class PolicyException

com.sun.identity.policy.PolicyException
Direct Known Subclasses:
InvalidFormatException, InvalidNameException, LimitExceededException, NameAlreadyExistsException, NameNotFoundException, NoPermissionException

public class PolicyException

The class PolicyException is the basic exception for the the policy component. All other exceptions in this package are derived from this exception.


Field Summary
static int CONDITION_COLLECTION
          The constant variable specifies the exception is with respect to constraint collection.
static int ORGANIZATION
          The constant variable specifies the exception is with respect to organization, sub-organization or the conatiner.
static int POLICY
          The constant variable specifies the exception is with respect to policy.
static int REFERRAL_COLLECTION
          The constant variable specifies the exception is with respect to referral collection.
static int REFERRAL_TYPE
          The constant variable specifies the exception is with respect to ReferralType
static int RULE
          The constant variable specifies the exception is with respect to rule.
static int SERVICE
          The constant variable specifies the exeception is with respect to services.
static int USER_COLLECTION
          The constant variable specifies the exception is with respect to user collection.
 
Constructor Summary
PolicyException(java.lang.String message)
          Constructs an instance of the PolicyException class.
PolicyException(java.lang.String message, java.lang.Throwable nestedException)
          Constructs an instance of the PolicyException class.
PolicyException(java.lang.Throwable nestedException)
          Constructs an instance of the PolicyException class.
 

Field Detail

POLICY

public static final int POLICY
The constant variable specifies the exception is with respect to policy.

RULE

public static final int RULE
The constant variable specifies the exception is with respect to rule.

SERVICE

public static final int SERVICE
The constant variable specifies the exeception is with respect to services.

ORGANIZATION

public static final int ORGANIZATION
The constant variable specifies the exception is with respect to organization, sub-organization or the conatiner.

USER_COLLECTION

public static final int USER_COLLECTION
The constant variable specifies the exception is with respect to user collection.

CONDITION_COLLECTION

public static final int CONDITION_COLLECTION
The constant variable specifies the exception is with respect to constraint collection.

REFERRAL_COLLECTION

public static final int REFERRAL_COLLECTION
The constant variable specifies the exception is with respect to referral collection.

REFERRAL_TYPE

public static final int REFERRAL_TYPE
The constant variable specifies the exception is with respect to ReferralType
Constructor Detail

PolicyException

public PolicyException(java.lang.String message)
Constructs an instance of the PolicyException class.
Parameters:
message - The message provided by the object that is throwing the exception.

PolicyException

public PolicyException(java.lang.Throwable nestedException)
Constructs an instance of the PolicyException class.
Parameters:
nestedException - the exception caught by the code block creating this exception

PolicyException

public PolicyException(java.lang.String message,
                       java.lang.Throwable nestedException)
Constructs an instance of the PolicyException class.
Parameters:
message - message of this exception
nestedException - the exception caught by the code block creating this exception