- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IllegalMonitorStateException (0.08 sec)
-
guava/src/com/google/common/util/concurrent/Monitor.java
* checked. * * <p>If a {@code Guard} is passed into any method of a {@code Monitor} other than the one it is * associated with, an {@link IllegalMonitorStateException} is thrown. * * @since 10.0 */ public abstract static class Guard { @Weak final Monitor monitor; final Condition condition; @GuardedBy("monitor.lock")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 42.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
monitor1.enter(); } try { method.invoke(monitor1, arguments.toArray()); fail("expected IllegalMonitorStateException"); } catch (InvocationTargetException e) { assertEquals(IllegalMonitorStateException.class, e.getTargetException().getClass()); } finally { if (occupyMonitor) { monitor1.leave(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27K bytes - Viewed (0)