public class InvalidOperationErrorException extends OperationFailureErrorException
The XML APIs specify the following XSD fragment:
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG_NAME
The XML tag name of the XML representation: "invalidOperationError"
|
CAUSE_TAG_NAME, CAUSED_BY_TAG_NAME, MESSAGE_TAG_NAME| Constructor and Description |
|---|
InvalidOperationErrorException()
Builds an empty exception.
|
InvalidOperationErrorException(IError error)
Builds an exception with the
error which has triggered it. |
InvalidOperationErrorException(IError error,
OperationFailureErrorException exception)
Builds an exception with an
error,
the Operation Failure which has triggered it. |
InvalidOperationErrorException(IError error,
java.lang.Throwable throwable)
Builds an exception with an error,
the
Throwable which has triggered it. |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element.
|
java.lang.String |
getTagName()
Gets the XML tag name of the HCI model.
|
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
addChild, getError, getMessage, marshal, marshalChildren, marshalIError, setError, unmarshalIErrorgetOperandReferencepublic static final java.lang.String TAG_NAME
public InvalidOperationErrorException()
public InvalidOperationErrorException(IError error)
error which has triggered it.error - The error which has triggered the exceptionpublic InvalidOperationErrorException(IError error, OperationFailureErrorException exception)
error,
the Operation Failure which has triggered it.error - The error of the exceptionexception - The exception which has triggered the current onepublic InvalidOperationErrorException(IError error, java.lang.Throwable throwable)
Throwable which has triggered it.error - The error of the exceptionthrowable - The throwable which has triggered the current onepublic void setAttributes(XMLAttributes atts)
XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallablecData - The character data to be addedpublic java.lang.String getTagName()
OperationFailureErrorExceptiongetTagName in class OperationFailureErrorExceptionpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallableoutput - The XML output to marshal the object attributes into