|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sun.identity.policy.PolicyException
com.sun.identity.policy.ObjectInUseException
public class ObjectInUseException
Exception thrown to indicate that an object you are trying to remove is in use and therefore can not be removed.
Field Summary |
---|
Fields inherited from class com.sun.identity.policy.PolicyException |
---|
CONDITION_COLLECTION, ORGANIZATION, POLICY, REFERRAL_COLLECTION, REFERRAL_TYPE, RESPONSE_PROVIDER_COLLECTION, RULE, SERVICE, SUBJECT_TYPE, USER_COLLECTION |
Constructor Summary | |
---|---|
ObjectInUseException(String msg,
String name,
Object user)
Constructs an ObjectInUseException object |
|
ObjectInUseException(String rbName,
String errCode,
Object[] args,
String name,
Object user)
Constructs an ObjectInUseException object |
|
ObjectInUseException(String rbName,
String errCode,
Object[] args,
Throwable t,
String name,
Object user)
Constructs an ObjectInUseException object |
|
ObjectInUseException(Throwable t,
String name,
Object user)
Constructs an ObjectInUseException object |
Method Summary | |
---|---|
String |
getName()
Gets the name that is in use. |
Constructor Detail |
---|
public ObjectInUseException(String msg, String name, Object user)
ObjectInUseException
object
msg
- exception messagename
- name of the object that is in useuser
- object that is using the object you are trying to removepublic ObjectInUseException(String rbName, String errCode, Object[] args, String name, Object user)
ObjectInUseException
object
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
- name of the object that is in useuser
- object that is using the object you are trying to removepublic ObjectInUseException(String rbName, String errCode, Object[] args, Throwable t, String name, Object user)
ObjectInUseException
object
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
- name of the object that is in useuser
- object that is using the object you are trying to removepublic ObjectInUseException(Throwable t, String name, Object user)
ObjectInUseException
object
t
- nested root cause exceptionname
- name of the object that is in useuser
- object that is using the object you are trying to removeMethod Detail |
---|
public String getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |