Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 447 for getMessager (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            assertEquals("Structure size != 4", ex1.getMessage());
    
            // Test maximum 2-byte value (65535)
            SMBUtil.writeInt2(65535, buffer, 0);
    
            SMBProtocolDecodingException ex2 = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
            assertEquals("Structure size != 4", ex2.getMessage());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

                    "Should throw CIFSException for incompatible class");
    
            assertEquals("Incompatible file information class", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat returns 0")
        void testWriteBytesWireFormat() {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SecureKeyManager.java

                    log.warn("Failed to destroy SecretKey: {}", e.getMessage());
                }
            }
    
            // Remove from KeyStore
            if (keyStore != null) {
                try {
                    keyStore.deleteEntry("smb.session." + sessionId);
                } catch (Exception e) {
                    log.debug("Failed to remove key from KeyStore: {}", e.getMessage());
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                assertTrue(true);
            } catch (Exception e) {
                // Should throw ThemeException or ZipException
                assertTrue(e instanceof ThemeException || e.getMessage().contains("zip") || e.getMessage().contains("install")
                        || e.getMessage().contains("format"));
            }
        }
    
        public void test_install_zipWithSkippedEntries() throws IOException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java

         * a call to {@link #initCause}.
         *
         * @param message the detail message. The detail message is saved for
         *                later retrieval by the {@link #getMessage()} method.
         */
        public InterpolatorException(String message) {
            super(message);
        }
    
        /**
         * Constructs a new InterpolatorException with the specified detail message and cause.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/HMACT64.java

                ipad[i] = IPAD;
                opad[i] = OPAD;
            }
            try {
                md5 = MessageDigest.getInstance("MD5");
            } catch (final Exception ex) {
                throw new IllegalStateException(ex.getMessage());
            }
            engineReset();
        }
    
        private HMACT64(final HMACT64 hmac) throws CloneNotSupportedException {
            super("HMACT64");
            this.ipad = hmac.ipad;
            this.opad = hmac.opad;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            SmbException ex =
                    assertThrows(SmbException.class, () -> new DirFileEntryEnumIterator1(tree, parent, "*", (ResourceNameFilter) null, 0));
            assertTrue(ex.getMessage().contains("UNC must end with '\\'"), "Actual message: " + ex.getMessage());
            verify(tree, times(1)).acquire();
            verify(tree, times(1)).release();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            doThrow(new SmbException("capability check failed")).when(transport).hasCapability(eq(42));
            SmbException ex = assertThrows(SmbException.class, () -> transport.hasCapability(42));
            assertTrue(ex.getMessage().contains("failed"));
            verify(transport).hasCapability(42);
        }
    
        // Edge: disconnected status toggles
        @ParameterizedTest
        @DisplayName("isDisconnected reflects current mocked state")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            } catch (JobProcessingException e) {
                assertEquals("Python Process terminated.", e.getMessage());
                assertNotNull(e.getCause());
                // Check cause message if available, otherwise just verify cause exists
                if (e.getCause().getMessage() != null) {
                    assertTrue(e.getCause().getMessage().contains("Process start failed"));
                }
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            assertTrue(exception instanceof Throwable);
        }
    
        public void test_getMessage() {
            // Test that getMessage returns null (no message set in constructor)
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
            assertNull(exception.getMessage());
        }
    
        public void test_getCause() {
            // Test that getCause returns null (no cause set in constructor)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top