Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 515 for getMessages (0.14 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java

            } catch (final ExtractException e) {
                assertTrue("Error message should mention ZIP archive", e.getMessage().contains("ZIP archive"));
                assertTrue("Error message should indicate failure",
                        e.getMessage().contains("Failed to extract") || e.getMessage().contains("No entries could be processed"));
            }
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java

            try {
                return new Metadata(delegate.read(reader, strict));
            } catch (XMLStreamException e) {
                throw new XmlPullParserException(e.getMessage(), null, e);
            }
        }
    
        /**
         * Method read.
         *
         * @param reader a reader object.
         * @return Metadata
         * @throws IOException            IOException if any.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                // Verify error message is clear and helpful
                assertNotNull(exception.getMessage());
                assertTrue(exception.getMessage().contains("Expected structureSize = 4"));
            }
    
            @Test
            @DisplayName("Should handle zero structure size")
            void testZeroStructureSize() {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java

            assertEquals(SmbException.getStatusByCode(-1), e.getNtStatus());
            assertEquals(SmbException.getMessageByCode(-1), e.getMessage());
        }
    
        @Test
        void zeroCodeProducesSuccess() {
            SmbAuthException e = new SmbAuthException(0);
            assertEquals("NT_STATUS_SUCCESS", e.getMessage());
            assertEquals(SmbException.getStatusByCode(0), e.getNtStatus());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

        void defaultConstructor_behavesAsExpected() {
            // Arrange & Act
            SMBProtocolDecodingException ex = new SMBProtocolDecodingException();
    
            // Assert state
            assertNull(ex.getMessage(), "Default constructor should have null message");
            assertNull(ex.getCause(), "Default constructor should have null cause");
            assertTrue(ex instanceof CIFSException, "Should be a CIFSException subtype");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

                assertTrue("Error message should contain encoding information", e.getMessage().contains("encoding"));
                assertTrue("Error message should contain the specific encoding", e.getMessage().contains(customEncoding));
                assertTrue("Error message should indicate extraction failure", e.getMessage().contains("Failed to extract"));
            } finally {
                // Reset to default encoding
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

            final StringBuilder buf = new StringBuilder(256);
            buf.append(cause.getMessage()).append(" : [");
            SQLException next = cause.getNextException();
            while (next != null) {
                buf.append(MessageFormatter.getSimpleMessage("ECL0071", next.getMessage(), Integer.toString(next.getErrorCode()),
                        next.getSQLState())).append("], [");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginExecutionException.java

            } else {
                message = "Mojo execution failed";
            }
    
            if (cause != null && cause.getMessage() != null && !cause.getMessage().isEmpty()) {
                message += ": " + cause.getMessage();
            } else {
                message += ".";
            }
    
            return message;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

            DcerpcException exception = new DcerpcException(errorCode);
    
            assertEquals(errorCode, exception.getErrorCode(), "Error code should match the input.");
            assertTrue(exception.getMessage().contains("DCERPC_FAULT_ACCESS_DENIED"),
                    "Message should contain the corresponding fault message.");
        }
    
        /**
         * Test constructor DcerpcException(int error) with an unknown error code.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            // Act & Assert: calling release without prior acquire drops usage below zero
            RuntimeException ex = assertThrows(RuntimeException.class, trace::release);
            assertTrue(ex.getMessage() != null && ex.getMessage().contains("Usage count dropped below zero"));
        }
    
        @Test
        @DisplayName("getTreeId(): no tree returns -1")
        void getTreeId_noTree_returnsMinusOne() {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top