- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ExceptionWithGoodAndBadConstructor (0.21 sec)
-
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.3K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 13:46:56 UTC 2023 - 6.2K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 13:46:56 UTC 2023 - 6.2K bytes - Viewed (0)