public class AdminCommandFailedResult extends Object implements OperationResult
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME |
| Constructor and Description |
|---|
AdminCommandFailedResult() |
AdminCommandFailedResult(Exception e) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
OperationFailureException |
getException() |
String |
getExceptionMsg() |
String |
getExceptionXML() |
String |
getOperandReference()
Gets the code or the reference (if no code exists) that identifies the operand of the operation request;
If the operation is not auditable, the operand reference is
null. |
String |
getStackTraceAsString(Exception e) |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setException(OperationFailureException exception) |
void |
setExceptionMsg(String exceptionMsg) |
void |
setExceptionXML(String exceptionXML) |
public static final String OPERATION_NAME
public AdminCommandFailedResult()
public AdminCommandFailedResult(Exception e)
public String getOperandReference()
OperationResultnull.getOperandReference in interface OperationResultpublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object intopublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic OperationFailureException getException()
public String getExceptionMsg()
public String getExceptionXML()
public void setException(OperationFailureException exception)
public void setExceptionXML(String exceptionXML)
public void setExceptionMsg(String exceptionMsg)