- Sort Score
- Num 10 results
- Language All
Results 541 - 550 of 619 for getMessage (0.45 seconds)
-
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
timeout -= System.currentTimeMillis() - start; } } catch (final InterruptedException ie) { throw new IOException(ie.getMessage()); } finally { responseTable.remove(nid); } synchronized (LOCK) { if (!NbtAddress.isWINS(request.addr)) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 17.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
fail("Should throw IllegalArgumentException for negative boost"); } catch (IllegalArgumentException e) { // Expected exception assertTrue(e.getMessage().contains("negative [boost] are not allowed")); } } @Test public void test_execute_multipleInvocations() { // Test that multiple invocations return consistent results
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
// When/Then: Should propagate IOException IOException thrown = assertThrows(IOException.class, () -> spyHandle.bind()); assertEquals("Test IO Exception", thrown.getMessage()); } } @Nested @DisplayName("Send/Receive Tests") class SendReceiveTests { @Test @DisplayName("Should handle basic send/receive fragment methods")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
ndrBuffer.setIndex(0); NdrException thrown = assertThrows(NdrException.class, () -> { ndrBuffer.dec_ndr_string(); }); assertEquals(NdrException.INVALID_CONFORMANCE, thrown.getMessage()); } @Test void testEncNdrReferent() { Object obj1 = new Object(); Object obj2 = new Object(); // Test unique/ref type (type 1 or 3)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy
} } catch (JsonParseException e) { throw new InvalidUserDataException("Invalid json in " + snippet.toString() + ". The error is:\n" + e.getMessage() + ".\n" + "After substitutions and munging, the json looks like:\n" + quoted, e); } } perSnippet(snippet) snippet = nullCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 20 10:08:26 GMT 2021 - 17.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java
fessConfig.get("non.existent.property"); fail("Should throw ConfigPropertyNotFoundException"); } catch (ConfigPropertyNotFoundException e) { assertEquals("non.existent.property", e.getMessage()); } } // Test isExtensionAllowed method /* // Commented out - methods don't exist in FessConfig @Test public void test_isExtensionAllowed() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java
// Include the message to get more info to get more a more useful message when running Gradle without -s throw new IllegalStateException("Failed to inspect class " + clazz.getName() + ". Missing class? " + e.getMessage(), e); } } private boolean implementsNamingConvention(Class<?> clazz) { Objects.requireNonNull(clazz); return implementsNamingConvention(clazz.getName()); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 17.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
if (this.negotiated == null) { connect(this.transportContext.getConfig().getResponseTimeout()); } } catch (final IOException ioe) { throw new SmbException(ioe.getMessage(), ioe); } final SmbNegotiationResponse r = this.negotiated; if (r == null) { throw new SmbException("Connection did not complete, failed to get negotiation response"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
try { indexUpdateCallback.store(paramMap, dataMap); fail("Should throw DataStoreException"); } catch (DataStoreException e) { assertTrue(e.getMessage().contains("url is null")); } } @Test public void test_store_withLabels() { // Setup label matching labelTypeHelper.matchedLabels.add("label1");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// When/Then: Should throw SmbException SmbException ex = assertThrows(SmbException.class, () -> poolSpy.getChallenge(ctx, address)); assertTrue(ex.getMessage().contains("Connection failed")); } @Test @DisplayName("Should perform logon to IPC$ share") void testLogon() throws Exception { // Given: Mock transport, session and treeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0)