Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,363 for Message (0.14 sec)

  1. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            }
        }
    
        @Test
        @DisplayName("Zero-length message is handled correctly")
        void zeroLengthMessageHandled() throws IOException {
            // Create a zero-length message followed by a normal message
            byte[] data = new byte[] { 10, 20 };
            byte[] fullData = concat(messageHeader(0), // Zero-length message
                    messageHeader(2), data);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

        }
    
        /**
         * Creates a Type-1 message using default values from the current
         * environment.
         */
        public Type1Message() {
            this(getDefaultFlags(), getDefaultDomain(), getDefaultWorkstation());
        }
    
        /**
         * Creates a Type-1 message with the specified parameters.
         *
         * @param flags The flags to apply to this message.
         * @param suppliedDomain The supplied authentication domain.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PACDecodingExceptionTest.java

            PACDecodingException e = new PACDecodingException();
            // Expect null message and null cause
            assertNull(e.getMessage());
            assertNull(e.getCause());
        }
    
        /**
         * Test the constructor with a message.
         */
        @Test
        void testMessageConstructor() {
            String errorMessage = "This is a test error message.";
            PACDecodingException e = new PACDecodingException(errorMessage);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

         *
         * @return the command (human) name
         */
        @Nonnull
        String commandName();
    
        /**
         * Returns the logger to be used during the parsing process.
         *
         * @return the logger instance
         */
        @Nonnull
        Logger logger();
    
        /**
         * Returns the factory for creating message builders.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java

            ProblemCollector collector = ProblemCollectorFactory.newInstance(null);
            collector.setSource("pom.xml");
            collector.add(Problem.Severity.ERROR, "Error message", 10, 5, null);
            collector.add(Problem.Severity.WARNING, "Warning message", 15, 3, null);
    
            List<Problem> problems = collector.getProblems();
            assertEquals(2, problems.size(), "Should collect both problems");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Jul 20 20:19:43 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

            assertEquals(message, exception.getMessage(), "Message should match the input.");
            assertNull(exception.getCause(), "Cause should be null for message-only constructor.");
        }
    
        /**
         * Test constructor DcerpcException(String msg, Throwable rootCause).
         */
        @Test
        void testConstructorWithMessageAndCause() {
            String message = "Test message with cause.";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            // Test with empty message string
            int statusCode = 404;
            String message = "";
    
            WebApiException exception = new WebApiException(statusCode, message);
    
            assertEquals(statusCode, exception.getStatusCode());
            assertEquals(message, exception.getMessage());
        }
    
        public void test_message_nullString() {
            // Test with null message string
            int statusCode = 500;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            // Test constructor with message only
            String message = "Thumbnail generation failed";
            ThumbnailGenerationException exception = new ThumbnailGenerationException(message);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithMessageAndCause() {
            // Test constructor with message and cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

         * @param message the message to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder error(Object message) {
            return style("." + Constants.MAVEN_STYLE_ERROR_NAME + ":-" + Constants.MAVEN_STYLE_ERROR_DEFAULT, message);
        }
    
        /**
         * Append message content in success style.
         * By default, bold green
         *
         * @param message the message to append
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Nov 02 09:29:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/log/Logger.java

         *
         * @param message
         *            Message
         */
        public void warn(final Object message) {
            log.warn(message.toString());
        }
    
        /**
         * Outputs ERROR information.
         *
         * @param message
         *            Message
         * @param throwable
         *            Exception
         */
        public void error(final Object message, final Throwable throwable) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top