|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.sun.identity.policy.ChainedException
|
+--com.sun.identity.policy.PolicyException
|
+--com.sun.identity.policy.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)
| Field Summary |
| Fields inherited from class com.sun.identity.policy.PolicyException |
CONDITION_COLLECTION, ORGANIZATION, POLICY, REFERRAL_COLLECTION, REFERRAL_TYPE, RULE, SERVICE, USER_COLLECTION |
| Constructor Summary | |
NameAlreadyExistsException(java.lang.String msg,
java.lang.String name,
int type)
Constructs a NameAlreadyExistsException instance. |
|
NameAlreadyExistsException(java.lang.String rbName,
java.lang.String errorCode,
java.lang.Object[] args,
java.lang.String name,
int type)
Constructs a NameAlreadyExistsException instance. |
|
NameAlreadyExistsException(java.lang.String rbName,
java.lang.String errorCode,
java.lang.Object[] args,
java.lang.Throwable t,
java.lang.String name,
int type)
Constructs a NameAlreadyExistsException instance. |
|
NameAlreadyExistsException(java.lang.Throwable t,
java.lang.String name,
int type)
Constructs a NameAlreadyExistsException instance. |
|
| Method Summary | |
java.lang.String |
getName()
Gets the name that already exists. |
int |
getObjectType()
Gets the type of object which already exists. |
| Methods inherited from class com.sun.identity.policy.PolicyException |
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName, printStackTrace, printStackTrace, printStackTrace |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NameAlreadyExistsException(java.lang.String msg,
java.lang.String name,
int type)
NameAlreadyExistsException instance.
msg - exception messagename - name that already existstype - type of object whose name already exist
public NameAlreadyExistsException(java.lang.String rbName,
java.lang.String errorCode,
java.lang.Object[] args,
java.lang.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(java.lang.String rbName,
java.lang.String errorCode,
java.lang.Object[] args,
java.lang.Throwable t,
java.lang.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(java.lang.Throwable t,
java.lang.String name,
int type)
NameAlreadyExistsException instance.
t - nested root cause exceptionname - name that already existstype - type of object whose name already exist| Method Detail |
public java.lang.String getName()
public int getObjectType()
POLICY_NAME,
RULE_NAME and SERVICE_NAME
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||