valueToSet = new Failure(exception.getCause()); } catch (CancellationException cancellation) { valueToSet = new Cancellation(false, cancellation); } catch (Throwable t) { valueToSet = new Failure(t);
Object valueToSet = new Cancellation(mayInterruptIfRunning, cause); do { if (ATOMIC_HELPER.casValue(this, localValue, valueToSet)) {