Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 523 for getMessage (1.52 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

                    buf.append(line);
                }
            } catch (final Exception e) {
                throwValidationError(messages -> messages.addErrorsFailedToReadRequestFile(GLOBAL, e.getMessage()),
                        () -> asListHtml(this::saveToken));
            }
    
            final CurlRequest curlRequest = getCurlRequest(header);
            if (curlRequest == null) {
                final String msg = header;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacMacTest.java

            PACDecodingException e =
                    assertThrows(PACDecodingException.class, () -> PacMac.calculateMac(PacSignature.KERB_CHECKSUM_HMAC_MD5, keys, TEST_DATA));
            assertEquals("Missing key", e.getMessage());
        }
    
        /**
         * Test calculateMac with an invalid algorithm type.
         */
        @Test
        void testCalculateMacInvalidAlgorithm() {
            Map<Integer, KerberosKey> keys = new HashMap<>();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Act & Assert
            IOException thrown = assertThrows(IOException.class, () -> {
                new LsaPolicyHandle(mockDcerpcHandle, server, access);
            });
    
            assertEquals("Network error", thrown.getMessage());
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
        }
    
        @Test
        void close_shouldClosePolicySuccessfully() throws IOException {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorRequest.java

        }
    
        public ModelProblemCollectorRequest setException(Exception exception) {
            this.exception = exception;
            return this;
        }
    
        public String getMessage() {
            return message;
        }
    
        public ModelProblemCollectorRequest setMessage(String message) {
            this.message = message;
            return this;
        }
    
        public InputLocation getLocation() {
            return location;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/UnsupportedEncodingRuntimeException.java

         *
         * @param cause
         *            the cause
         */
        public UnsupportedEncodingRuntimeException(final UnsupportedEncodingException cause) {
            super("ECL0105", new Object[] { cause.getMessage() }, cause);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

                byte[] actualBuffer = (byte[]) outputBufferField.get(response);
                assertSame(outputBuffer, actualBuffer);
            } catch (Exception e) {
                fail("Failed to access outputBuffer field: " + e.getMessage());
            }
        }
    
        @Test
        void testWriteSetupWireFormat() {
            // Test that writeSetupWireFormat returns 0
            byte[] dst = new byte[100];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            String malformedUrl = "invalid-url";
            CIFSException thrown = assertThrows(CIFSException.class, () -> {
                cifsContextWrapper.get(malformedUrl);
            });
            assertTrue(thrown.getMessage().contains("Invalid URL"));
            assertTrue(thrown.getCause() instanceof MalformedURLException);
        }
    
        @Test
        void testGetPipe() throws CIFSException, MalformedURLException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java

        void testConstructorWithMessage() {
            String testMessage = "This is a test message for NdrException.";
            NdrException exception = new NdrException(testMessage);
            assertEquals(testMessage, exception.getMessage(), "The exception message should match the input message.");
        }
    
        /**
         * Test the NO_NULL_REF static field.
         * Ensures that the static field holds the expected string value.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

                } catch (final ChildUrlsException e) {
                    connected = true;
                    break;
                } catch (final Exception e) {
                    logger.info("[{}] {}", i + 1, e.getMessage());
                }
                ThreadUtil.sleep(200L);
            }
            if (!connected) {
                throw new IllegalStateException("Could not connect to the Samba server");
            }
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 30K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java

        @Test
        public void testSIndexOutOfBoundsExceptionString() {
            final ClIndexOutOfBoundsException clIndexOutOfBoundsException = new ClIndexOutOfBoundsException("hoge");
            assertThat(clIndexOutOfBoundsException.getMessage(), is("hoge"));
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top