| Package | Description |
|---|---|
| com.vmware.vapi |
The
com.vmware.vapi component provides API infrastructure interfaces and
standard types that can be used in the interface specification of any interface. |
| com.vmware.vapi.bindings | |
| com.vmware.vapi.core | |
| com.vmware.vapi.data | |
| com.vmware.vapi.std |
The
com.vmware.vapi.std package provides standard types that can be used
in the interface specification of any interface. |
| Modifier and Type | Method and Description |
|---|---|
static ErrorValue |
ErrorValueFactory.buildErrorValue(String errorName,
List<Message> messages) |
static ErrorValue |
ErrorValueFactory.buildErrorValue(String errorName,
Message... messages) |
static ErrorValue |
ErrorValueFactory.buildErrorValue(String errorName,
Message mainMessage,
List<Message> details) |
static ErrorValue |
ErrorValueFactory.buildErrorValue(String errorName,
String msgId,
String... msgArgs) |
| Modifier and Type | Method and Description |
|---|---|
ErrorValue |
UnresolvedError._getDataValue() |
| Constructor and Description |
|---|
UnresolvedError(ErrorValue errorValue) |
| Modifier and Type | Method and Description |
|---|---|
ErrorValue |
MethodResult.getError()
Returns the error for this
MethodResult. |
ErrorValue |
ErrorValueException.getErrorValue() |
| Modifier and Type | Method and Description |
|---|---|
static MethodResult |
MethodResult.newErrorResult(ErrorValue error)
Static factory method for creating
MethodResult instance
for error reported by method invocation |
| Constructor and Description |
|---|
ErrorValueException(ErrorValue errorValue) |
MethodResult(DataValue output,
ErrorValue error)
Constructor.
|
MethodResult(DataValue output,
ErrorValue error,
Consumer<AsyncHandle<MethodResult>> next)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ErrorValue |
ErrorValue.copy() |
ErrorValue |
ErrorDefinition.newInstance() |
| Modifier and Type | Method and Description |
|---|---|
static ErrorValue |
StandardDataFactory.createErrorValueForMessages(ErrorDefinition errorDef,
List<Message> messages)
Creates instance for given error definition and list of
Messages. |
static ErrorValue |
StandardDataFactory.createErrorValueForMessages(String errorName,
List<Message> messages)
Creates a standard error
ErrorValue instance for the given
name list of Messages. |
Copyright © 2022. All rights reserved.