com.sun.identity.policy
クラス PolicyException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 com.sun.identity.policy.PolicyException
直系の既知のサブクラス:
InvalidAppSSOTokenException, InvalidFormatException, InvalidNameException, LimitExceededException, NameAlreadyExistsException, NameNotFoundException, NoPermissionException, ObjectInUseException, PolicyEvaluationException

public class PolicyException
extends Exception

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

関連項目:
直列化された形式

フィールドの概要
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 container.
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 Referral Type
static int RESPONSE_PROVIDER_COLLECTION
          The constant variable specifies the exception is with respect to response provider collection.
static int RULE
          The constant variable specifies the exception is with respect to rule.
static int SERVICE
          The constant variable specifies the exception is with respect to services.
static int SUBJECT_TYPE
          The constant variable specifies the exception is with respect to Subject Type
static int USER_COLLECTION
          The constant variable specifies the exception is with respect to user collection.
 
コンストラクタの概要
PolicyException(String message)
          Constructs an instance of the PolicyException class.
PolicyException(String rbName, String errorCode, Object[] args, Throwable nestedException)
          Constructs an instance of PolicyException to pass the localized error message At this level, the locale of the caller is not known and it is not possible to throw localized error message at this level.
PolicyException(String message, Throwable nestedException)
          Constructs an instance of the PolicyException class.
PolicyException(Throwable nestedException)
          Constructs an instance of the PolicyException class.
 

フィールドの詳細

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 exception 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 container.

関連項目:
定数フィールド値

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.

関連項目:
定数フィールド値

RESPONSE_PROVIDER_COLLECTION

public static final int RESPONSE_PROVIDER_COLLECTION
The constant variable specifies the exception is with respect to response provider 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 Referral Type

関連項目:
定数フィールド値

SUBJECT_TYPE

public static final int SUBJECT_TYPE
The constant variable specifies the exception is with respect to Subject Type

関連項目:
定数フィールド値
コンストラクタの詳細

PolicyException

public PolicyException(String message)
Constructs an instance of the PolicyException class.

パラメータ:
message - The message provided by the object that is throwing the exception.

PolicyException

public PolicyException(Throwable nestedException)
Constructs an instance of the PolicyException class.

パラメータ:
nestedException - the exception caught by the code block creating this exception

PolicyException

public PolicyException(String message,
                       Throwable nestedException)
Constructs an instance of the PolicyException class.

パラメータ:
message - message of this exception
nestedException - the exception caught by the code block creating this exception

PolicyException

public PolicyException(String rbName,
                       String errorCode,
                       Object[] args,
                       Throwable nestedException)
Constructs an instance of PolicyException to pass the localized error message At this level, the locale of the caller is not known and it is not possible to throw localized error message at this level. Instead this constructor provides Resource Bundle name and error code for correctly locating the error message. The default getMessage() will always return English messages only. This is in consistent with current JRE

パラメータ:
rbName - Resource Bundle Name to be used for getting localized error message.
errorCode - Key to resource bundle. You can use
ResourceBundle rb = ResourceBunde.getBundle (rbName,locale);
    String localizedStr = rb.getString(errorCode);
args - arguments to message. If it is not present pass the as null
nestedException - The root cause of this error