com.waveset.exception
Class TaskExists

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.waveset.util.ExceptionWrapper
              extended bycom.waveset.util.WavesetException
                  extended bycom.waveset.exception.TaskExists
All Implemented Interfaces:
java.io.Serializable

public class TaskExists
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
TaskExists(Message msg)
          Construct a new ObjectInUse with a detailed message.
TaskExists(java.lang.String taskName)
          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
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values
Constructor Detail

TaskExists

public TaskExists(java.lang.String taskName)
Construct a new ObjectInUse with a detailed message.


TaskExists

public TaskExists(Message msg)
Construct a new ObjectInUse with a detailed message.

Parameters:
msg - Message object