提交 4f661231 编写于 作者: K kohsuke

how about this?


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1316 71c3de6d-444a-0410-be80-ed276b4c234a
上级 1f56e154
......@@ -59,11 +59,15 @@ abstract class Request<RSP extends Serializable,EXC extends Throwable> extends C
EXC exc = response.exception;
if(exc !=null)
throw exc;
_throw(exc);
return response.returnValue;
}
private static <EX extends Throwable> void _throw(EX e) throws EX {
throw e;
}
/**
* Makes an invocation but immediately returns without waiting for the completion
* (AKA aysnchronous invocation.)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册