Duplicate :
|
|
Duplicate :
|
|
Relates :
|
When Object.wait() returns, there is no direct way to tell whether the object was notified or whether the timeout occurred. Customer suggests reporting timeouts by throwing a subclass of InterruptedException.
|