128129130131132133134135
} else if (e instanceof ClientWarpExecutionException) { throw (ClientWarpExecutionException) e; } else if (e instanceof RuntimeException) { throw (RuntimeException) e; } else { throw new ServerWarpExecutionException(e); } }
133134135136137138139
throw new ServerWarpExecutionException(e); } } private void propagateSkip() { throw new ServerWarpExecutionException("execution was skipped"); }
120121122123124125126127128129
return result.getResponsePayload(); } catch (ResponsePayloadWasNeverRegistered e) { Thread.sleep(300); last = e; } catch (Throwable e) { throw new ServerWarpExecutionException("failed to retrieve a response payloade: " + e.getMessage(), e); } } throw last; }
119120121122123124125126127128
164165166167168169170171
125126127128129130131
private void propagateException(Throwable e) { Rethrow.asUnchecked(e, ServerWarpExecutionException.class); } private void propagateSkip() { throw new ServerWarpExecutionException("execution was skipped"); }