📅  最后修改于: 2022-03-11 14:55:47.995000             🧑  作者: Mango
@Override
public C get() throws InterruptedException, ExecutionException
{
_latch.await();
if (_cause==COMPLETED)
return _result;
if (_cause instanceof CancellationException)
throw (CancellationException) new CancellationException().initCause(_cause);
throw new ExecutionException(_cause);
}