1 // Copyright 2013 Google Inc. All rights reserved.
3 package com
.google
.appengine
.api
.taskqueue
;
5 import com
.google
.appengine
.api
.utils
.FutureWrapper
;
7 import java
.util
.concurrent
.Future
;
10 * {@code FutureAdapter} is a simple {@link FutureWrapper} for situations where
11 * no conversion of exceptions is required. This class is thread-safe.
13 * @param <K> The type of this {@link Future}
14 * @param <V> The type of the wrapped {@link Future}
16 abstract class FutureAdapter
<K
, V
> extends FutureWrapper
<K
, V
> {
18 FutureAdapter(Future
<K
> parent
) {
22 protected final Throwable
convertException(Throwable cause
) {