you should just add ", InterruptedException" in the signature of this method, no?