Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,146 for mymessage (0.04 sec)

  1. src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java

        /**
         * Test the constructor with a message.
         * Ensures that the exception is created with the correct message.
         */
        @Test
        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.");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. 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)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

              )
    
          // Parse an optional response message like "OK" or "Not Modified". If it
          // exists, it is separated from the response code by a space.
          var message = ""
          if (statusLine.length > codeStart + 3) {
            if (statusLine[codeStart + 3] != ' ') {
              throw ProtocolException("Unexpected status line: $statusLine")
            }
            message = statusLine.substring(codeStart + 4)
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcException.java

        /**
         * Constructs a DcerpcException with the specified message
         *
         * @param msg
         *            the error message
         */
        public DcerpcException(final String msg) {
            super(msg);
        }
    
        /**
         * Constructs a DcerpcException with the specified message and root cause
         *
         * @param msg
         *            the error message
         * @param rootCause
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/transport/TransportException.java

        private Throwable rootCause;
    
        /**
         * Constructs a new TransportException with no detail message.
         */
        public TransportException() {
        }
    
        /**
         * Constructs a new TransportException with the specified detail message.
         *
         * @param msg the detail message
         */
        public TransportException(final String msg) {
            super(msg);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbException.java

        }
    
        /**
         * Get the message string for an NT STATUS code
         *
         * @param errcode the NT STATUS error code
         * @return message for NT STATUS code
         */
        public static String getMessageByCode(final int errcode) {
            String message = errorCodeMessages.get(errcode);
            if (message == null) {
                message = "0x" + Hexdump.toHexString(errcode, 8);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            // Test the second step (processing Type 2 and creating Type 3 message)
            when(mockAuth.getDomain()).thenReturn(domain);
            when(mockAuth.getUsername()).thenReturn(username);
            when(mockAuth.getPassword()).thenReturn(password);
            NtlmContext context = new NtlmContext(mockAuth, true);
    
            // State 1: Generate Type 1 message
            context.initSecContext(new byte[0], 0, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/audit/SecurityAuditLogger.java

         * Log a security event with performance optimizations
         *
         * @param type event type
         * @param severity event severity
         * @param message event message
         * @param context additional context
         */
        public void logEvent(EventType type, Severity severity, String message, Map<String, Object> context) {
            // Check minimum log level filter
            if (severity.getLevel() < minLogLevel.getLevel()) {
                return;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

      fun assertClose() {
        nextEvent() as Closed
      }
    
      fun assertFailure(
        message: String?,
        code: Int? = null,
      ) {
        val event = nextEvent() as Failure
        if (code != null) {
          assertThat(event.response?.code).isEqualTo(code)
        }
        if (message != null) {
          assertThat(event.message).isEqualTo(message)
        } else {
          assertThat(event.t).isNull()
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:32:52 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top