- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 182 for ex (0.01 sec)
-
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
ListeningScheduledExecutorService service = listeningDecorator(delegate); RuntimeException ex = new RuntimeException(); ListenableFuture<?> future = service.schedule(new ThrowingRunnable(0, ex), 1, MILLISECONDS); assertExecutionException(future, ex); assertEquals(0, delegate.getQueue().size()); } public void testListeningDecorator_schedulePeriodic() throws Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
initializeMultiChannel(); // Initialize witness support for fast failover initializeWitnessSupport(); if (ex != null) { throw ex; } return (T) (response != null ? response.getNextResponse() : null); } } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
doThrow(new CIFSException("Close failed")).when(delegate).close(); TestIterator iterator = new TestIterator(null); CIFSException ex = assertThrows(CIFSException.class, iterator::close); assertEquals("Close failed", ex.getMessage()); } @Test @DisplayName("Remove delegates to underlying iterator") void removeDelegation() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/GeoInfo.java
} catch (final Exception ex) { throw new InvalidQueryException( messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY), ex.getLocalizedMessage(), ex); } }));
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jConfigurationFactory.java
| InvocationTargetException | IllegalAccessException | InstantiationException ex) { // ignore and move on to the next } } } catch (IOException ex) { // ignore } return new UnsupportedSlf4jBindingConfiguration(); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 08 08:49:11 UTC 2024 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
f.set("foo"); } public void testExecutorSuccess() { CountingSameThreadExecutor ex = new CountingSameThreadExecutor(); SettableFuture<String> f = SettableFuture.create(); MockCallback callback = new MockCallback("foo"); Futures.addCallback(f, callback, ex); f.set("foo"); assertEquals(1, ex.runCount); } // Error cases public void testSameThreadExecutionException() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
} catch (final IOException ex) {} } final int domainLength = domain.length; byte[] server = {}; try { final String host = NbtAddress.getLocalHost().getHostName(); if (host != null) { try { server = host.getBytes(UNI_ENCODING); } catch (final IOException ex) {} }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt
} } } object LoggingCallback : FutureCallback<SimpleHttpResponse> { override fun completed(response: SimpleHttpResponse) { } override fun failed(ex: Exception) { println("Failed: $ex") } override fun cancelled() { println("Cancelled") }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
void testTextualConstructorInvalid() { // Arrange String bad = "S-1"; // fewer than 3 tokens // Act + Assert SmbException ex = assertThrows(SmbException.class, () -> new SID(bad)); assertTrue(ex.getMessage().contains("Bad textual SID format")); } @Test @DisplayName("Textual constructor null throws NullPointerException")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
doThrow(new RuntimeException(new CIFSException("session fail"))).when(tree).getSession(); Exception ex = assertThrows(Exception.class, handle::getSessionKey); assertTrue( ex.getMessage().contains("session fail") || (ex.getCause() != null && ex.getCause().getMessage().contains("session fail"))); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0)