Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 447 for getMessages (0.07 sec)

  1. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

            assertThat(ex.getMessageCode(), is("ECL0001"));
            assertThat(ex.getArgs().length, is(1));
            assertThat(ex.getArgs()[0], is((Object) "hoge"));
            System.out.println(ex.getMessage());
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetCause() throws Exception {
            final Throwable t = new NullPointerException("test");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java

            assertEquals(Problem.Severity.ERROR, problems.get(0).getSeverity(), "First problem should be ERROR");
            assertEquals("Error message", problems.get(0).getMessage(), "First problem should have correct message");
            assertEquals(Problem.Severity.WARNING, problems.get(1).getSeverity(), "Second problem should be WARNING");
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Jul 20 20:19:43 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            // Try to call again
            SmbException e = assertThrows(SmbException.class, () -> {
                context.initSecContext(new byte[0], 0, 0);
            });
            assertEquals("Invalid state", e.getMessage());
        }
    
        @Test
        void testInitSecContext_malformedType2Message() throws SmbException {
            // Test handling of a malformed Type 2 message
            when(mockAuth.getDomain()).thenReturn(domain);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K 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: Thu Sep 04 12:52:25 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                // When & Then
                IOException thrown = assertThrows(IOException.class, () -> new Type2Message(invalidSignature));
                assertEquals("Not an NTLMSSP message.", thrown.getMessage());
            }
    
            @Test
            @DisplayName("Constructor with invalid message type should throw IOException")
            void testConstructor_ByteArray_InvalidMessageType() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                SmbException ex =
                        assertThrows(SmbException.class, () -> SmbCopyUtil.copyFile(src, dest, buffers, 8, new WriterThread(), sh, dh));
                assertTrue(ex.getMessage().contains("smb://src"));
                assertTrue(ex.getMessage().contains("smb://dest"));
            }
    
            @Test
            @DisplayName("copyFile swallows when ignoreCopyToException=true")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                logger.debug("While recursing: " + e.getMessage(), e);
                result.addCircularDependencyException(e);
            } catch (OverConstrainedVersionException e) {
                logger.debug("While recursing: " + e.getMessage(), e);
                result.addVersionRangeViolation(e);
            } catch (ArtifactResolutionException e) {
                logger.debug("While recursing: " + e.getMessage(), e);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top