Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 447 for getMessages (0.08 sec)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            assertEquals("MESSAGE1", p1.getMessage());
            assertEquals(-1, p1.getLineNumber());
            assertEquals(-1, p1.getColumnNumber());
            assertNull(p1.getException());
    
            Problem p2 = collector.getProblems().get(1);
            assertEquals(Severity.WARNING, p2.getSeverity());
            assertEquals("", p2.getMessage());
            assertEquals(42, p2.getLineNumber());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                    } else {
                        // Final attempt failed
                        if (e.getMessage() != null && (e.getMessage().contains("Connection refused")
                                || e.getMessage().contains("Failed to connect") || e.getMessage().contains("localhost/0:0:0:0:0:0:0:1"))) {
                            // Network connectivity issue in CI - skip test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/CurlRequestTest.java

            request.param("key", "value");
    
            try {
                request.encoding("ISO-8859-1");
                fail("Expected CurlException");
            } catch (CurlException e) {
                assertTrue(e.getMessage().contains("must be called before param method"));
            }
        }
    
        @Test
        public void testThresholdMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                        assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex));
                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 255, 65535 })
            @DisplayName("Should throw exception for various invalid structure sizes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/curl/CurlException.java

        /**
         * Constructs a new CurlException with the specified detail message and cause.
         *
         * @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
         * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
         *              (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.)
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

         */
        @Test
        @DisplayName("Constructor 0 – NT_STATUS_SUCCESS")
        void testConstructorWithZeroCode() {
            SmbException ex = new SmbException(0, false);
            assertEquals("NT_STATUS_SUCCESS", ex.getMessage());
            assertEquals(0, ex.getNtStatus());
            assertNull(ex.getRootCause(), "root cause should be null for this ctor");
            assertEquals("jcifs.smb1.smb1.SmbException: NT_STATUS_SUCCESS", ex.toString());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/MultiChannelManager.java

            } catch (Exception e) {
                log.error("Failed to create multi-channel transport from {} to {}: {}", localAddress, serverAddress, e.getMessage());
                throw new CIFSException("Failed to create multi-channel transport: " + e.getMessage(), e);
            }
        }
    
        /**
         * Creates a default CIFSContext for multi-channel operations.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
            System.err.println(e.getMessage());
            System.err.println(errorInLogging.getMessage());
          } finally {
            runtime.exit(1);
          }
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        void release_belowZero_throws() {
            SmbTreeConnection c = newConn();
            RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, c::release);
            assertTrue(ex.getMessage().toLowerCase().contains("usage count"));
        }
    
        @Test
        @DisplayName("isConnected reflects underlying tree state")
        void isConnected_usesTree() {
            SmbTreeConnection c = newConn();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                // For now, just return the file object
                return file;
            } catch (Exception e) {
                log.warn("Failed to create SmbFile for {}: {}", filePath, e.getMessage());
                throw new IOException("Failed to create SmbFile: " + e.getMessage(), e);
            }
        }
    
        /**
         * Get the CIFS context
         *
         * @return CIFS context
         */
        public CIFSContext getContext() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top