com.waveset.exception
Class ObjectProtected
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.waveset.util.ExceptionWrapper
com.waveset.util.WavesetException
com.waveset.exception.ObjectProtected
- All Implemented Interfaces:
- java.io.Serializable
- public class ObjectProtected
- extends WavesetException
An exception thrown on an attempt to delete an object that is
protected from deletion.
Some configuration objects will throw this in their DeleteVisitor method,
WorkflowConfig is one.
The error message has two parameters, the type and name of the
protected object.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
code_id
|
Constructor Summary |
ObjectProtected(Message msg)
Construct a new ObjectProtected with a Message object. |
ObjectProtected(java.lang.String typeName,
java.lang.String objectName)
Construct a new ObjectProtected with a detailed message. |
ObjectProtected(java.lang.String typeName,
java.lang.String objectName,
boolean protectedFromDeleteOnly)
Construct a new ObjectProtected 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
ObjectProtected
public ObjectProtected(java.lang.String typeName,
java.lang.String objectName)
- Construct a new ObjectProtected with a detailed message.
- Parameters:
typeName
- detail name of the referencing typeobjectName
- detail name of the referencing object
ObjectProtected
public ObjectProtected(java.lang.String typeName,
java.lang.String objectName,
boolean protectedFromDeleteOnly)
- Construct a new ObjectProtected with a detailed message.
- Parameters:
typeName
- detail name of the referencing typeobjectName
- detail name of the referencing objectprotectedFromDeleteOnly
- true or false if can't delete, but can modify
ObjectProtected
public ObjectProtected(Message msg)
- Construct a new ObjectProtected with a Message object.
- Parameters:
msg
- Message object