|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sun.identity.policy.PolicyException
com.sun.identity.policy.NameNotFoundException
public class NameNotFoundException
Exception thrown if an object such as policy, rule or referral for the given name does not exist.
| 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 | |
|---|---|
NameNotFoundException(String msg,
String name,
int type)
Constructor |
|
NameNotFoundException(String rbName,
String errCode,
Object[] args,
String name,
int type)
Constructor |
|
NameNotFoundException(String rbName,
String errCode,
Object[] args,
Throwable t,
String name,
int type)
Constructor |
|
NameNotFoundException(Throwable t,
String name,
int type)
Constructor |
|
| Method Summary | |
|---|---|
String |
getName()
Gets the name that was not found. |
int |
getObjectType()
Gets the type of object which encountered the invalid name. |
| Constructor Detail |
|---|
public NameNotFoundException(String msg,
String name,
int type)
msg - exception messagename - name that was not foundtype - type of object whose name was not found
public NameNotFoundException(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 was not foundtype - type of object whose name was not found
public NameNotFoundException(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 was not foundtype - type of object whose name was not found
public NameNotFoundException(Throwable t,
String name,
int type)
t - nested root cause exceptionname - name that was not foundtype - type of object whose name was not found| Method 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 | ||||||||