| Class | Description |
|---|---|
| Failure |
Description of a failed result.
|
| Failure.Meta |
The meta-bean for
Failure. |
| FailureItem |
Details of a single failed item.
|
| FailureItem.Meta |
The meta-bean for
FailureItem. |
| FailureItems |
A list of failure items.
|
| FailureItems.Meta |
The meta-bean for
FailureItems. |
| FailureItemsBuilder |
A builder for a list of failure items.
|
| Result<T> |
The result of an operation, either success or failure.
|
| Result.Meta<T> |
The meta-bean for
Result. |
| ValueWithFailures<T> |
A value with associated failures.
|
| ValueWithFailures.Meta<T> |
The meta-bean for
ValueWithFailures. |
| Enum | Description |
|---|---|
| FailureReason |
Represents the reason why failure occurred.
|
| Exception | Description |
|---|---|
| FailureException |
An exception thrown when a failure
Result is encountered and the failure can't be handled. |
The result model is typically used in a subsystem following functional programming style.
Functions will be written to have Result<T> as the return type.
Instead of using exceptions, code will return failure results.
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.