com.sun.identity.policy
クラス ObjectInUseException

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

public class ObjectInUseException
extends PolicyException

Exception thrown to indicate that an object you are trying to remove is in use and therefore can not be removed.

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

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

コンストラクタの詳細

ObjectInUseException

public ObjectInUseException(String msg,
                            String name,
                            Object user)
Constructs an ObjectInUseException object

パラメータ:
msg - exception message
name - name of the object that is in use
user - object that is using the object you are trying to remove

ObjectInUseException

public ObjectInUseException(String rbName,
                            String errCode,
                            Object[] args,
                            String name,
                            Object user)
Constructs an ObjectInUseException object

パラメータ:
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 of the object that is in use
user - object that is using the object you are trying to remove

ObjectInUseException

public ObjectInUseException(String rbName,
                            String errCode,
                            Object[] args,
                            Throwable t,
                            String name,
                            Object user)
Constructs an ObjectInUseException object

パラメータ:
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 of the object that is in use
user - object that is using the object you are trying to remove

ObjectInUseException

public ObjectInUseException(Throwable t,
                            String name,
                            Object user)
Constructs an ObjectInUseException object

パラメータ:
t - nested root cause exception
name - name of the object that is in use
user - object that is using the object you are trying to remove
メソッドの詳細

getName

public String getName()
Gets the name that is in use.

戻り値:
name of the object that is in use