CompletableFuture<Method> (LocationImpl location) { return location.methodAsync().exceptionally(throwable -> { if (DebuggerUtilsAsync.unwrap(throwable) instanceof IllegalArgumentException) { // Invalid method id LOG.info(throwable); return null; } throw (RuntimeException)throwable; }); }