Example

public static class ClassA {
public void methodA {

try {
//...
} catch ( IllegalMonitorStateException e ) {
//...
}
}

Solution
Reconsider the use of the catch clause.