Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 463 Bytes

CatchIllegalMonitorStateException.md

File metadata and controls

11 lines (6 loc) · 463 Bytes

Pattern: Catching IllegalMonitorStateException

Issue: -

Description

Dubious catching of IllegalMonitorStateException. IllegalMonitorStateException is generally only thrown in case of a design flaw in your code (calling wait or notify on an object you do not hold a lock on).

Further Reading