create a failed future with the specified failure cause . concode_field_sep FutureFactory factory concode_field_sep T result concode_elem_sep Future<T> setHandler concode_elem_sep void fail concode_elem_sep void fail concode_elem_sep void compose concode_elem_sep Future<T> future concode_elem_sep Future<T> succeededFuture concode_elem_sep Future<T> succeededFuture concode_elem_sep Throwable cause concode_elem_sep Handler<AsyncResult<T>> completer concode_elem_sep boolean failed concode_elem_sep void complete concode_elem_sep void complete concode_elem_sep boolean isComplete concode_elem_sep boolean succeeded
Future < T > function ( Throwable arg0 ) { return factory . completedFuture ( arg0 ) ; }