prince-of-versions/src/main/java/co/infinum/princeofversions/BaseLoader.java
protected void ifTaskIsCancelledThrowInterrupt() throws InterruptedException {
        if (cancelled) {
            throw new InterruptedException();
        }
    }
/**
     * Checks if loading is cancelled and throwing interrupt if it is.
     *
     * @throws InterruptedException if loading is cancelled.
     */
Checks if loading is cancelled and throwing interrupt if it is.
@throws InterruptedException if loading is cancelled.
Checks if loading is cancelled and throwing interrupt if it is . @throws InterruptedException if loading is cancelled .
protected void ifTaskIsCancelledThrowInterrupt() throws InterruptedException {
        if (cancelled) {
            throw new InterruptedException();
        }
    }
protected void ifTaskIsCancelledThrowInterrupt ( ) throws InterruptedException { if ( cancelled ) { throw new InterruptedException ( ) ; } }
Checks if loading is cancelled and throwing interrupt if it is.
Checks if loading is cancelled and throwing interrupt if it is .