com.sun.identity.policy
Class LimitExceededException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.sun.identity.policy.ChainedException
|
+--com.sun.identity.policy.PolicyException
|
+--com.sun.identity.policy.LimitExceededException
- All Implemented Interfaces:
- com.sun.identity.common.L10NMessage, java.io.Serializable
- public class LimitExceededException
- extends PolicyException
Exception thrown if any limit is exceeded
- See Also:
- Serialized Form
Constructor Summary |
LimitExceededException(java.lang.String msg,
java.lang.String name,
int type)
Constructor |
LimitExceededException(java.lang.String rbName,
java.lang.String errCode,
java.lang.Object[] args,
java.lang.String name,
int type)
Constructor |
LimitExceededException(java.lang.String rbName,
java.lang.String errCode,
java.lang.Object[] args,
java.lang.Throwable t,
java.lang.String name,
int type)
Constructor |
LimitExceededException(java.lang.String msg,
java.lang.Throwable t,
java.lang.String name,
int type)
Constructor |
LimitExceededException(java.lang.Throwable t,
java.lang.String name,
int type)
Constructor |
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 |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.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
- of the object for which limit was exceededtype
- of object for which the limit was exceeded
LimitExceededException
public LimitExceededException(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
- of the object for which limit was exceededtype
- 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