com.sun.identity.policy
Class  ObjectInUseException
java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sun.identity.policy.ChainedException
                    |
                    +--com.sun.identity.policy.PolicyException
                          |
                          +--com.sun.identity.policy.ObjectInUseException
- All Implemented Interfaces: 
- com.sun.identity.common.L10NMessage, java.io.Serializable
- 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
 
| Constructor Summary | 
| ObjectInUseException(java.lang.String msg,
                     java.lang.String name,
                     java.lang.Object user)Constructs an
 ObjectInUseExceptionobject | 
| ObjectInUseException(java.lang.String rbName,
                     java.lang.String errCode,
                     java.lang.Object[] args,
                     java.lang.String name,
                     java.lang.Object user)Constructs an
 ObjectInUseExceptionobject | 
| ObjectInUseException(java.lang.String rbName,
                     java.lang.String errCode,
                     java.lang.Object[] args,
                     java.lang.Throwable t,
                     java.lang.String name,
                     java.lang.Object user)Constructs an
 ObjectInUseExceptionobject | 
| ObjectInUseException(java.lang.Throwable t,
                     java.lang.String name,
                     java.lang.Object user)Constructs an
 ObjectInUseExceptionobject | 
 
| Method Summary | 
|  java.lang.String | getName()Gets the name that is invalid
 | 
 
 
| 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 | 
 
ObjectInUseException
public ObjectInUseException(java.lang.String msg,
                            java.lang.String name,
                            java.lang.Object user)
- Constructs an ObjectInUseExceptionobject
- 
- Parameters:
- msg- exception message
- name- name of the object that is in use
- user- object that is using the object you are trying to remove
 
ObjectInUseException
public ObjectInUseException(java.lang.String rbName,
                            java.lang.String errCode,
                            java.lang.Object[] args,
                            java.lang.String name,
                            java.lang.Object user)
- Constructs an ObjectInUseExceptionobject
- 
- Parameters:
- rbName- Resource bundle name of exception message
- errCode- id used with resource bundle to get error message
- args- any arguments for message formatting. null if no
 additional arguments are necessary
- name- name of the object that is in use
- user- object that is using the object you are trying to remove
 
ObjectInUseException
public ObjectInUseException(java.lang.String rbName,
                            java.lang.String errCode,
                            java.lang.Object[] args,
                            java.lang.Throwable t,
                            java.lang.String name,
                            java.lang.Object user)
- Constructs an ObjectInUseExceptionobject
- 
- Parameters:
- rbName- Resource bundle name of exception message
- errCode- id used with resource bundle to get error message
- args- any arguments for message formatting. null if no
 additional arguments are necessary
- t- nested root cause exception
- name- name of the object that is in use
- user- object that is using the object you are trying to remove
 
ObjectInUseException
public ObjectInUseException(java.lang.Throwable t,
                            java.lang.String name,
                            java.lang.Object user)
- Constructs an ObjectInUseExceptionobject
- 
- Parameters:
- t- nested root cause exception
- name- name of the object that is in use
- user- object that is using the object you are trying to remove
 
getName
public java.lang.String getName()
- Gets the name that is invalid- 
- Returns:
- name of the object that is in use
 
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.