- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for getThrown (0.14 sec)
-
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
ExampleClassUnderTest.foo(); LogRecord record = handler.getStoredLogRecords().get(0); assertEquals(Level.INFO, record.getLevel()); assertEquals("message", record.getMessage()); assertSame(EXCEPTION, record.getThrown()); } public void testConcurrentModification() throws Exception { // Tests for the absence of a bug where logging while iterating over the // stored log records causes a ConcurrentModificationException
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
ExampleClassUnderTest.foo(); LogRecord record = handler.getStoredLogRecords().get(0); assertEquals(Level.INFO, record.getLevel()); assertEquals("message", record.getMessage()); assertSame(EXCEPTION, record.getThrown()); } public void testConcurrentModification() throws Exception { // Tests for the absence of a bug where logging while iterating over the // stored log records causes a ConcurrentModificationException
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
List<LogRecord> logRecords = logHandler.getStoredLogRecords(); assertEquals(1, logRecords.size()); LogRecord logRecord = logRecords.get(0); logHandler.clear(); return logRecord.getThrown(); } private void checkNothingLogged() { assertTrue(logHandler.getStoredLogRecords().isEmpty()); } private void checkLogged(Throwable t) { assertSame(t, popLoggedThrowable()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 110.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
List<LogRecord> logRecords = logHandler.getStoredLogRecords(); assertEquals(1, logRecords.size()); LogRecord logRecord = logRecords.get(0); logHandler.clear(); return logRecord.getThrown(); } private void checkNothingLogged() { assertTrue(logHandler.getStoredLogRecords().isEmpty()); } private void checkLogged(Throwable t) { assertSame(t, popLoggedThrowable()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 112.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
List<LogRecord> logRecords = logHandler.getStoredLogRecords(); assertEquals(1, logRecords.size()); LogRecord logRecord = logRecords.get(0); logHandler.clear(); return logRecord.getThrown(); } private void checkNothingLogged() { assertThat(logHandler.getStoredLogRecords()).isEmpty(); } private void checkLoggedCause(Throwable t) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 86.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
stack.addFirst(closeable); } return closeable; } /** * Stores the given throwable and rethrows it. It will be rethrown as is if it is an {@code * IOException}, {@code RuntimeException} or {@code Error}. Otherwise, it will be rethrown wrapped * in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
try { close() } catch (e: AssertionError) { throw e } catch (rethrown: RuntimeException) { if (rethrown.message == "bio == null") { // Conscrypt in Android 10 and 11 may throw closing an SSLSocket. This is safe to ignore. // https://issuetracker.google.com/issues/177450597 return } throw rethrown } catch (_: Exception) { } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 10.7K bytes - Viewed (0) -
guava/src/com/google/common/io/Closer.java
stack.addFirst(closeable); } return closeable; } /** * Stores the given throwable and rethrows it. It will be rethrown as is if it is an {@code * IOException}, {@code RuntimeException} or {@code Error}. Otherwise, it will be rethrown wrapped * in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FlushablesTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FlushablesTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.3K bytes - Viewed (0)