Module java.base
Package java.lang

Class IllegalMonitorStateException

java.lang.Object
All Implemented Interfaces:
Serializable

public class IllegalMonitorStateException extends RuntimeException
Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.
Since:
1.0
See Also: