- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ExceptionWithGoodAndBadConstructor (0.8 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
public void testGetCheckedUntimed_withGoodAndBadExceptionConstructor() throws Exception { ExceptionWithGoodAndBadConstructor expected = assertThrows( ExceptionWithGoodAndBadConstructor.class, () -> getChecked( FAILED_FUTURE_CHECKED_EXCEPTION, ExceptionWithGoodAndBadConstructor.class)); assertThat(expected).hasCauseThat().isSameInstanceAs(CHECKED_EXCEPTION); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java
super(s); } } static final class ExceptionWithGoodAndBadConstructor extends Exception { public ExceptionWithGoodAndBadConstructor(String message, Throwable cause) { throw new RuntimeException("bad constructor"); } public ExceptionWithGoodAndBadConstructor(Throwable cause) { super(cause); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java
super(s); } } static final class ExceptionWithGoodAndBadConstructor extends Exception { public ExceptionWithGoodAndBadConstructor(String message, Throwable cause) { throw new RuntimeException("bad constructor"); } public ExceptionWithGoodAndBadConstructor(Throwable cause) { super(cause); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.3K bytes - Viewed (0)