public abstract class OperationFailureException extends java.lang.Exception implements OperationResult
abstract Java class represents the root exception for all the HCI operation exceptions;
Consider the known subclasses detailed in this page and the OperationFailureErrorException marshallable exception
to design your implementation and its error handling.
Consider the known subclasses that represent an HCI operation exception; They are listed in this page.
Example
| Constructor and Description |
|---|
OperationFailureException() |
OperationFailureException(java.lang.String message) |
OperationFailureException(java.lang.String message,
java.lang.Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddCharacterData, addChild, marshal, setAttributespublic OperationFailureException()
public OperationFailureException(java.lang.String message)
public OperationFailureException(java.lang.String message,
java.lang.Throwable throwable)
public java.lang.String getOperandReference()
OperationResultnull.getOperandReference in interface OperationResult