When does Java\'s Thread.sleep throw InterruptedException? Is it safe to ignore it? I am not doing any multithreading. I just want to wait for a few seconds before retryi
The InterruptedException is usually thrown when a sleep is interrupted.
InterruptedException