|
|||||||||
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.InvalidFormatException
public class InvalidFormatException
Exception thrown if a name of an object such as policy, rule or referral has invalid format
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 | |
---|---|
InvalidFormatException(String msg,
String name,
int type)
Constructs a InvalidFormatException instance. |
|
InvalidFormatException(String rbName,
String errCode,
Object[] args,
String name,
int type)
Constructs a InvalidFormatException instance. |
|
InvalidFormatException(String rbName,
String errCode,
Object[] args,
Throwable t,
String name,
int type)
Constructs a InvalidFormatException instance. |
|
InvalidFormatException(Throwable t,
String name,
int type)
Constructs a InvalidFormatException instance. |
Method Summary | |
---|---|
String |
getName()
Gets the name of the object that encountered an invalid format. |
int |
getObjectType()
Gets the type of object which encountered the invalid name. |
Constructor Detail |
---|
public InvalidFormatException(String msg, String name, int type)
InvalidFormatException
instance.
msg
- exception messagename
- name that was in invalid formattype
- type of object that had invalid name formatpublic InvalidFormatException(Throwable t, String name, int type)
InvalidFormatException
instance.
t
- nested root cause exceptionname
- name that was in invalid formattype
- type of object that had invalid name formatpublic InvalidFormatException(String rbName, String errCode, Object[] args, Throwable t, String name, int type)
InvalidFormatException
instance.
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 was in invalid formattype
- type of object that had invalid name formatpublic InvalidFormatException(String rbName, String errCode, Object[] args, String name, int type)
InvalidFormatException
instance.
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 was in invalid formattype
- type of object that had invalid name formatMethod 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 |