Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 447 for setMessage (0.05 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        }
    
        assertEquals(1, logHandler.getStoredLogRecords().size());
        assertEquals(
            "Exception while executing callback: MyListener custom-label",
            logHandler.getStoredLogRecords().get(0).getMessage());
      }
    
      public void testEnqueueAndDispatch_multithreaded() throws InterruptedException {
        Object listener = new Object();
        ExecutorService service = newFixedThreadPool(4);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        }
    
        assertEquals(1, logHandler.getStoredLogRecords().size());
        assertEquals(
            "Exception while executing callback: MyListener custom-label",
            logHandler.getStoredLogRecords().get(0).getMessage());
      }
    
      public void testEnqueueAndDispatch_multithreaded() throws InterruptedException {
        Object listener = new Object();
        ExecutorService service = newFixedThreadPool(4);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    errors.add(new ProfileActivationException(req.getMessage(), req.getException()));
                }
            });
    
            if (!errors.isEmpty()) {
                throw errors.get(0);
            }
    
            return profiles;
        }
    
        /* (non-Javadoc)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type1Message.java

                pos += writeSecurityBufferContent(type1, pos, wsOffOff, workstation);
                return type1;
            } catch (final IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        @Override
        public String toString() {
            final String suppliedDomainString = getSuppliedDomain();
            final String suppliedWorkstationString = getSuppliedWorkstation();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/NetbiosNameTest.java

                assertNotNull(NetbiosName.class.getMethod("getScope"));
                assertNotNull(NetbiosName.class.getMethod("getNameType"));
            } catch (NoSuchMethodException e) {
                fail("Method not found: " + e.getMessage());
            }
        }
    
        @Test
        @DisplayName("Should handle getName() method")
        void testGetName() {
            // Given
            String testName = "TESTSERVER";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTree.java

                        return;
                    }
                    try {
                        session.transport.wait();
                    } catch (final InterruptedException ie) {
                        throw new SmbException(ie.getMessage(), ie);
                    }
                }
                connectionState = 1; // trying ...
    
                try {
                    /* The hostname to use in the path is only known for
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            Exception exception = assertThrows(CIFSException.class, () -> context.encryptMessage(largeMessage, 2L));
            assertTrue(exception.getMessage().contains("rotation") || exception.getMessage().contains("exceeded"),
                    "Should indicate key rotation issue: " + exception.getMessage());
    
            context.close();
        }
    
        @Test
        @DisplayName("Should handle multiple closes gracefully")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            try {
                SsoResponseType.valueOf("INVALID");
                fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("INVALID"));
            }
        }
    
        public void test_valueOf_null() {
            // Test valueOf with null throws exception
            try {
                SsoResponseType.valueOf(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            for (int i = 0; i < numberOfMessages; i++) {
                WitnessNotificationMessage message = decodeNotificationMessage(buf);
                messages.add(message);
            }
            notification.setMessages(messages);
    
            return notification;
        }
    
        /**
         * Decodes a single notification message from the NDR buffer.
         *
         * @param buf the NDR buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

                assertEquals(3, skipped);
            } catch (IOException e) {
                // This is also acceptable behavior - skip may fail when it runs out of data
                assertTrue(e.getMessage().contains("unexpected EOF"));
            }
        }
    
        @Test
        @DisplayName("Keep-alive packets are transparently skipped")
        void keepAlivePacketsAreSkipped() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top