@Trivial
    void throwIfInterrupted() throws InterruptedException {
        int s = state.get();
        if (s == FAILED || s == ABORTED) {
            Object x = result.get();
            if (x instanceof InterruptedException) {
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                    Tr.debug(this, tc, "interrupted", x);
                throw (InterruptedException) x;
            }
        }
    }
@ Trivial void throwIfInterrupted ( ) throws InterruptedException { int s = state . get ( ) ; if ( s == FAILED || s == ABORTED ) { Object x = result . get ( ) ; if ( x instanceof InterruptedException ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( this , tc , "interrupted" , x ) ; throw ( InterruptedException ) x ; } } }
@throws InterruptedException if the task failed with InterruptedException.