com.sun.identity.policy
Class InvalidNameException
com.sun.identity.policy.PolicyException
|
+--com.sun.identity.policy.InvalidNameException
- public class InvalidNameException
- extends PolicyException
Exception thrown if a name of an object such as policy, rule or
referral is invalid
|
Constructor Summary |
InvalidNameException(java.lang.String msg,
java.lang.String name,
int type)
Constructor |
InvalidNameException(java.lang.String rbName,
java.lang.String errCode,
java.lang.Object[] args,
java.lang.String name,
int type)
Constructor |
InvalidNameException(java.lang.String rbName,
java.lang.String errCode,
java.lang.Object[] args,
java.lang.Throwable t,
java.lang.String name,
int type)
Constructor |
InvalidNameException(java.lang.Throwable t,
java.lang.String name,
int type)
Constructor |
|
Method Summary |
java.lang.String |
getName()
Gets the name that is invalid |
int |
getObjectType()
Gets the type of object which encountered
the invalid name. |
InvalidNameException
public InvalidNameException(java.lang.String msg,
java.lang.String name,
int type)
- Constructor
- Parameters:
msg - exception messagename - name that is invalidtype - type of object that had invalid name
InvalidNameException
public InvalidNameException(java.lang.String rbName,
java.lang.String errCode,
java.lang.Object[] args,
java.lang.String name,
int type)
- Constructor
- Parameters:
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 name
InvalidNameException
public InvalidNameException(java.lang.String rbName,
java.lang.String errCode,
java.lang.Object[] args,
java.lang.Throwable t,
java.lang.String name,
int type)
- Constructor
- Parameters:
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 name
InvalidNameException
public InvalidNameException(java.lang.Throwable t,
java.lang.String name,
int type)
- Constructor
- Parameters:
t - nested root cause exceptionname - name that is invalidtype - type of object that had invalid name
getName
public java.lang.String getName()
- Gets the name that is invalid
- Returns:
- name that is invalid
getObjectType
public int getObjectType()
- Gets the type of object which encountered
the invalid name. The defined objects are
POLICY,
RULE, ORGANIZATION,
USER_COLLECTION
and SERVICE
- Returns:
- type of object that had invalid name