|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sun.identity.policy.PolicyException
com.sun.identity.policy.NameAlreadyExistsException
public class NameAlreadyExistsException
Exception thrown if a name of an object such as policy, rule or referral already exists (used by another object of the same type)
| フィールドの概要 |
|---|
| クラス com.sun.identity.policy.PolicyException から継承されたフィールド |
|---|
CONDITION_COLLECTION, ORGANIZATION, POLICY, REFERRAL_COLLECTION, REFERRAL_TYPE, RESPONSE_PROVIDER_COLLECTION, RULE, SERVICE, SUBJECT_TYPE, USER_COLLECTION |
| コンストラクタの概要 | |
|---|---|
NameAlreadyExistsException(String msg,
String name,
int type)
Constructs a NameAlreadyExistsException instance. |
|
NameAlreadyExistsException(String rbName,
String errorCode,
Object[] args,
String name,
int type)
Constructs a NameAlreadyExistsException instance. |
|
NameAlreadyExistsException(String rbName,
String errorCode,
Object[] args,
Throwable t,
String name,
int type)
Constructs a NameAlreadyExistsException instance. |
|
NameAlreadyExistsException(Throwable t,
String name,
int type)
Constructs a NameAlreadyExistsException instance. |
|
| メソッドの概要 | |
|---|---|
String |
getName()
Gets the name that already exists. |
int |
getObjectType()
Gets the type of object which encountered the invalid name. |
| コンストラクタの詳細 |
|---|
public NameAlreadyExistsException(String msg,
String name,
int type)
NameAlreadyExistsException instance.
msg - exception messagename - name that already existstype - type of object whose name already exist
public NameAlreadyExistsException(String rbName,
String errorCode,
Object[] args,
String name,
int type)
NameAlreadyExistsException instance.
With localized error message
rbName - Resource bundle nameerrorCode - error code to use access the resource bundleargs - parameters for message formattingname - name that already existstype - type of object whose name already exist
public NameAlreadyExistsException(String rbName,
String errorCode,
Object[] args,
Throwable t,
String name,
int type)
NameAlreadyExistsException instance.
With localized error message
rbName - Resource bundle nameerrorCode - error code to use access the resource bundleargs - parameters for message formattingt - nested root cause exceptionname - name that already existstype - type of object whose name already exist
public NameAlreadyExistsException(Throwable t,
String name,
int type)
NameAlreadyExistsException instance.
t - nested root cause exceptionname - name that already existstype - type of object whose name already exist| メソッドの詳細 |
|---|
public String getName()
public int getObjectType()
POLICY,
RULE, ORGANIZATION,
USER_COLLECTION
RESPONSE_PROVIDER_COLLECTION
CONDITION_COLLECTION
REFERRAL_COLLECTION
REFERRAL_TYPE
SUBJECT_TYPE
and SERVICE
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||