Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 324 for getMessages (0.64 sec)

  1. src/main/java/org/codelibs/fess/app/service/UserService.java

                }
            } catch (final Exception e) {
                logger.warn("Failed to {} user: username={}, id={}, error={}", isUpdate ? "update" : "create", username, user.getId(),
                        e.getMessage(), e);
                throw e;
            }
        }
    
        /**
         * Changes the password for a user identified by username.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SpnegoContextTest.java

            // Invalid first byte should be rejected by token parsing
            CIFSException ex = assertThrows(CIFSException.class, () -> ctx.initSecContext(new byte[] { firstByte }, 0, 1));
            assertEquals("Invalid token", ex.getMessage());
    
            // Ensure mechContext was not engaged due to early failure
            verify(this.mechContext, never()).initSecContext(any(), anyInt(), anyInt());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

                securityDescriptor = new SecurityDescriptor();
                bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len);
            } catch (final IOException ioe) {
                throw new RuntimeException(ioe.getMessage());
            }
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
            return ("NtTransQuerySecurityResponse[" + super.toString() + "]");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            try {
                fesenClient.get(c -> mockFuture);
                fail("Expected exception after max retries");
            } catch (RuntimeException e) {
                assertEquals("Persistent failure", e.getMessage());
            }
    
            // Should try initial + maxRetryCount times (1 + 3 = 4)
            assertEquals(4, attemptCount.get());
        }
    
        /**
         * Test: Null safety in connect() when targetIndices is null
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SIDTest.java

                // 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")
            void testTextualConstructorNull() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/PurgeDocJob.java

            } catch (final Exception e) {
                logger.error("Could not delete expired documents: {}", queryBuilder, e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
            return resultBuf.toString();
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

            assertEquals(NbtException.ERR_SSN_SRVC, e.errorClass);
            assertEquals(NbtException.CONNECTION_REFUSED, e.errorCode);
            assertEquals(e.getMessage(), NbtException.getErrorString(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED));
        }
    
        @Test
        @DisplayName("toString includes class, code and error string")
        void testToString() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exception/WebApiException.java

         *
         * @param statusCode The HTTP status code
         * @param e The exception that caused this WebApiException
         */
        public WebApiException(final int statusCode, final Exception e) {
            this(statusCode, e.getMessage(), e);
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/exception/BadPaddingRuntimeException.java

         *
         * @param cause
         *            the cause
         */
        public BadPaddingRuntimeException(final BadPaddingException 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.3K bytes
    - Viewed (0)
Back to top