com.waveset.exception
Class ObjectInUse
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.waveset.util.ExceptionWrapper
com.waveset.util.WavesetException
com.waveset.exception.ObjectInUse
- All Implemented Interfaces:
- java.io.Serializable
- public class ObjectInUse
- extends WavesetException
An exception thrown on an attempt to delete an object that is
being referenced by some other object.
Most configuration objects will check to see if there are any outstanding
references before allowing themselves to be deleted.
The error message has two parameters, the type and name of the
referencing object.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
code_id
|
Constructor Summary |
ObjectInUse(Message msg)
Construct a new ObjectInUse with a Message object. |
ObjectInUse(java.lang.String otypeName,
java.lang.String oobjectName,
java.lang.String typeName,
java.lang.String objectName)
Construct a new ObjectInUse with a detailed message. |
Methods inherited from class com.waveset.util.WavesetException |
addMessage, addMessage, breakpoint, checkBreakpoint, enableBreakpoint, getLocalizedMessage, getLocalizedMessage, getMessage, getMessage, getMessage, getMessageObject, getMessageObject, getMessageOnly, getMessages |
Methods inherited from class com.waveset.util.ExceptionWrapper |
addException, clearExceptions, describeException, getAllMessages, getException, getException, getExceptionCount, hasException, printStackTrace, printStackTrace, printStackTrace, removeException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
code_id
public static final java.lang.String code_id
- See Also:
- Constant Field Values
ObjectInUse
public ObjectInUse(java.lang.String otypeName,
java.lang.String oobjectName,
java.lang.String typeName,
java.lang.String objectName)
- Construct a new ObjectInUse with a detailed message.
- Parameters:
typeName
- detail name of the referencing typeobjectName
- detail name of the referencing object
ObjectInUse
public ObjectInUse(Message msg)
- Construct a new ObjectInUse with a Message object.
- Parameters:
msg
- Message object