AsyncRestTemplate and FutureAdapter consistently throw ExecutionException

Issue: SPR-13413
This commit is contained in:
Juergen Hoeller
2015-08-31 17:31:52 +02:00
parent d99717c1cb
commit 2bb7164c64
2 changed files with 8 additions and 8 deletions

View File

@@ -666,7 +666,7 @@ public class AsyncRestTemplate extends AsyncHttpAccessor implements AsyncRestOpe
}
return convertResponse(response);
}
catch (IOException ex) {
catch (Throwable ex) {
throw new ExecutionException(ex);
}
finally {