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 ObjectInUseException object |
ObjectInUseException(java.lang.String rbName,
java.lang.String errCode,
java.lang.Object[] args,
java.lang.String name,
java.lang.Object user)
Constructs an ObjectInUseException object |
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 ObjectInUseException object |
ObjectInUseException(java.lang.Throwable t,
java.lang.String name,
java.lang.Object user)
Constructs an ObjectInUseException object |
|
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
ObjectInUseException object
- 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(java.lang.String rbName,
java.lang.String errCode,
java.lang.Object[] args,
java.lang.String name,
java.lang.Object user)
- Constructs an
ObjectInUseException object
- 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(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
ObjectInUseException object
- 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
ObjectInUseException
public ObjectInUseException(java.lang.Throwable t,
java.lang.String name,
java.lang.Object user)
- Constructs an
ObjectInUseException object
- Parameters:
t - nested root cause exceptionname - name of the object that is in useuser - 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.