com.sun.identity.policy
Class InvalidFormatException
com.sun.identity.policy.PolicyException
|
+--com.sun.identity.policy.InvalidFormatException
- public class InvalidFormatException
- extends PolicyException
Exception thrown if a name of an object such as policy, rule or
referral has invalid format
Method Summary |
java.lang.String |
getName()
Gets the name of the object that encountered an invalid format. |
int |
getObjectType()
Gets the type of object which encountered an invalid format. |
InvalidFormatException
public InvalidFormatException(java.lang.String msg,
java.lang.String name,
int type)
- Constructor
- Parameters:
msg
- exception messagename
- name that was in invalid formattype
- type of object that had invalid name format
InvalidFormatException
public InvalidFormatException(java.lang.Throwable t,
java.lang.String name,
int type)
- Constructor
- Parameters:
t
- nested root cause exceptionmsg
- exception messagename
- name that was in invalid formattype
- type of object that had invalid name format
getName
public java.lang.String getName()
- Gets the name of the object that encountered an invalid format.
- Returns:
- name that was in invalid format
getObjectType
public int getObjectType()
- Gets the type of object which encountered an invalid format.
The defined objects are
POLICY
,
RULE
and SERVICE
- Returns:
- type of object that had invalid name format