|
|||||||||
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.PolicyException com.sun.identity.policy.InvalidNameException
public class InvalidNameException
Exception thrown if a name of an object such as policy, rule or referral is invalid
Field Summary |
---|
Fields inherited from class com.sun.identity.policy.PolicyException |
---|
CONDITION_COLLECTION, ORGANIZATION, POLICY, REFERRAL_COLLECTION, REFERRAL_TYPE, RESPONSE_PROVIDER_COLLECTION, RULE, SERVICE, SUBJECT_TYPE, USER_COLLECTION |
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
String |
getName()
Gets the name that is invalid |
int |
getObjectType()
Gets the type of object which encountered the invalid name. |
Constructor Detail |
---|
public InvalidNameException(String msg, String name, int type)
msg
- exception messagename
- name that is invalidtype
- type of object that had invalid namepublic InvalidNameException(String rbName, String errCode, Object[] args, String name, int type)
rbName
- Resource bundle name of exception messageerrCode
- id used with resource bundle to get error messageargs
- any arguments for message formatting. null if no
additional arguments are necessaryname
- name that is invalidtype
- type of object that had invalid namepublic InvalidNameException(String rbName, String errCode, Object[] args, Throwable t, String name, int type)
rbName
- Resource bundle name of exception messageerrCode
- id used with resource bundle to get error messageargs
- any arguments for message formatting. null if no
additional arguments are necessaryt
- nested root cause exceptionname
- name that is invalidtype
- type of object that had invalid namepublic InvalidNameException(Throwable t, String name, int type)
t
- nested root cause exceptionname
- name that is invalidtype
- type of object that had invalid nameMethod Detail |
---|
public String getName()
public int getObjectType()
POLICY
,
RULE
, ORGANIZATION
,
USER_COLLECTION
RESPONSE_PROVIDER_COLLECTION
CONDITION_COLLECTION
REFERRAL_COLLECTION
REFERRAL_TYPE
SUBJECT_TYPE
and SERVICE
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |