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
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.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