void () { if (isCanceled() && isCancelable()) { Throwable trace = getCancellationTrace(); throw trace instanceof ProcessCanceledException ? (ProcessCanceledException)trace : new ProcessCanceledException(trace); } }