Package com.sun.identity.policy
Class ObjectInUseException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- com.sun.identity.policy.PolicyException
 - 
- com.sun.identity.policy.ObjectInUseException
 
 
 
 
 
- 
- All Implemented Interfaces:
 com.sun.identity.shared.locale.L10NMessage,Serializable
@SupportedAll public class ObjectInUseException extends PolicyException
Exception thrown to indicate that an object you are trying to remove is in use and therefore can not be removed.- See Also:
 - Serialized Form
 
 
- 
- 
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
Constructors Constructor Description ObjectInUseException(String msg, String name, Object user)Constructs anObjectInUseExceptionobjectObjectInUseException(String rbName, String errCode, Object[] args, String name, Object user)Constructs anObjectInUseExceptionobjectObjectInUseException(String rbName, String errCode, Object[] args, Throwable t, String name, Object user)Constructs anObjectInUseExceptionobjectObjectInUseException(Throwable t, String name, Object user)Constructs anObjectInUseExceptionobject 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the name that is in use.- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ObjectInUseException
public ObjectInUseException(String msg, String name, Object user)
Constructs anObjectInUseExceptionobject- Parameters:
 msg- exception messagename- name of the object that is in useuser- object that is using the object you are trying to remove
 
- 
ObjectInUseException
public ObjectInUseException(String rbName, String errCode, Object[] args, String name, Object user)
Constructs anObjectInUseExceptionobject- 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- name of the object that is in useuser- object that is using the object you are trying to remove
 
- 
ObjectInUseException
public ObjectInUseException(String rbName, String errCode, Object[] args, Throwable t, String name, Object user)
Constructs anObjectInUseExceptionobject- 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- name of the object that is in useuser- object that is using the object you are trying to remove
 
 - 
 
- 
Method Detail
- 
getName
public String getName()
Gets the name that is in use.- Returns:
 - name of the object that is in use
 
 
 - 
 
 -