com.sun.identity.policy
Class LimitExceededException
com.sun.identity.policy.PolicyException
|
+--com.sun.identity.policy.LimitExceededException
- public class LimitExceededException
- extends PolicyException
Exception thrown if any limit is exceeded
Method Summary |
java.lang.String |
getName()
Gets the name of the object for which limit was exceeded |
int |
getObjectType()
Gets the type of object for which limit was exceeded
The defined objects are POLICY ,
RULE , ORGANIZATION ,
USER_COLLECTION
and SERVICE |
LimitExceededException
public LimitExceededException(java.lang.String msg,
java.lang.String name,
int type)
- Constructor
- Parameters:
msg
- exception messagename
- name of the object for which limit was exceededtype
- type of object for which the limit was exceeded
LimitExceededException
public LimitExceededException(java.lang.Throwable t,
java.lang.String name,
int type)
- Constructor
- Parameters:
t
- nested root cause exceptionname
- of the object for which limit was exceededtype
- of object for which the limit was exceeded
LimitExceededException
public LimitExceededException(java.lang.String msg,
java.lang.Throwable t,
java.lang.String name,
int type)
- Constructor
- Parameters:
msg
- exception messaget
- nested root cause exceptionname
- of the object for which limit was exceededtype
- of object for which the limit was exceeded
getName
public java.lang.String getName()
- Gets the name of the object for which limit was exceeded
- Returns:
- name of the object for which limit was exceeded
getObjectType
public int getObjectType()
- Gets the type of object for which limit was exceeded
The defined objects are
POLICY
,
RULE
, ORGANIZATION
,
USER_COLLECTION
and SERVICE
- Returns:
- type of object for which limit was exceeded