This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
InterruptedException is thrown when any thread is interrupted while it has executed sleep() or wait(). IllegalMonitorState Exception is thrown when any thread executes wait() without holding a lock on an object.
InterruptedException must be handled via try..catch or must be declared in the method defintion. IllegalMonitorState is thrown by JVM..