com.sun.identity.policy
クラス InvalidNameException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 com.sun.identity.policy.PolicyException
              上位を拡張 com.sun.identity.policy.InvalidNameException

public class InvalidNameException
extends PolicyException

Exception thrown if a name of an object such as policy, rule or referral is invalid

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

フィールドの概要
 
クラス com.sun.identity.policy.PolicyException から継承されたフィールド
CONDITION_COLLECTION, ORGANIZATION, POLICY, REFERRAL_COLLECTION, REFERRAL_TYPE, RESPONSE_PROVIDER_COLLECTION, RULE, SERVICE, SUBJECT_TYPE, USER_COLLECTION
 
コンストラクタの概要
InvalidNameException(String msg, String name, int type)
          Constructor
InvalidNameException(String rbName, String errCode, Object[] args, String name, int type)
          Constructor
InvalidNameException(String rbName, String errCode, Object[] args, Throwable t, String name, int type)
          Constructor
InvalidNameException(Throwable t, String name, int type)
          Constructor
 
メソッドの概要
 String getName()
          Gets the name that is invalid
 int getObjectType()
          Gets the type of object which encountered the invalid name.
 

コンストラクタの詳細

InvalidNameException

public InvalidNameException(String msg,
                            String name,
                            int type)
Constructor

パラメータ:
msg - exception message
name - name that is invalid
type - type of object that had invalid name

InvalidNameException

public InvalidNameException(String rbName,
                            String errCode,
                            Object[] args,
                            String name,
                            int type)
Constructor

パラメータ:
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
name - name that is invalid
type - type of object that had invalid name

InvalidNameException

public InvalidNameException(String rbName,
                            String errCode,
                            Object[] args,
                            Throwable t,
                            String name,
                            int type)
Constructor

パラメータ:
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
name - name that is invalid
type - type of object that had invalid name

InvalidNameException

public InvalidNameException(Throwable t,
                            String name,
                            int type)
Constructor

パラメータ:
t - nested root cause exception
name - name that is invalid
type - type of object that had invalid name
メソッドの詳細

getName

public String getName()
Gets the name that is invalid

戻り値:
name that is invalid

getObjectType

public int getObjectType()
Gets the type of object which encountered the invalid name. The defined objects are POLICY, RULE, ORGANIZATION, USER_COLLECTION RESPONSE_PROVIDER_COLLECTION CONDITION_COLLECTION REFERRAL_COLLECTION REFERRAL_TYPE SUBJECT_TYPE and SERVICE

戻り値:
type of object that had invalid name