class Result {

  @NonNull
  public T get() throws FailedResultException {
    if (value != null) {
      return value;
    }
    throw new FailedResultException(failure);
  }

    Result(@Nullable final T value, @Nullable final Throwable failure);

}