public class LimitExceededException extends PolicyException
Constructor and Description |
---|
LimitExceededException(String msg,
String name,
int type)
Constructor
|
LimitExceededException(String rbName,
String errCode,
Object[] args,
String name,
int type)
Constructor
|
LimitExceededException(String rbName,
String errCode,
Object[] args,
Throwable t,
String name,
int type)
Constructor
|
LimitExceededException(String msg,
Throwable t,
String name,
int type)
Constructor
|
LimitExceededException(Throwable t,
String name,
int type)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name of the object for which limit was exceeded
|
int |
getObjectType()
Gets the type of object which encountered
the invalid name.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LimitExceededException(String msg, String name, int type)
msg
- exception messagename
- name of the object for which limit was exceededtype
- type of object for which the limit was exceededpublic LimitExceededException(String rbName, String errCode, Object[] args, String name, int type)
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 exceededpublic LimitExceededException(String rbName, String errCode, Object[] args, Throwable t, String name, int type)
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 exceededpublic LimitExceededException(Throwable t, String name, int type)
t
- nested root cause exceptionname
- of the object for which limit was exceededtype
- of object for which the limit was exceededpublic String getName()
public int getObjectType()
POLICY
,
RULE
, ORGANIZATION
,
USER_COLLECTION
RESPONSE_PROVIDER_COLLECTION
CONDITION_COLLECTION
REFERRAL_COLLECTION
REFERRAL_TYPE
SUBJECT_TYPE
and SERVICE
Copyright © 2010-2018, ForgeRock All Rights Reserved.