Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 519 for setMessage (0.14 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java

         */
        Exception getException();
    
        /**
         * Gets the message that describes this problem.
         *
         * @return The message describing this problem, never {@code null}.
         */
        String getMessage();
    
        /**
         * Gets the severity level of this problem.
         *
         * @return The severity level of this problem, never {@code null}.
         */
        Severity getSeverity();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

        ExampleClassUnderTest.foo();
        LogRecord record = handler.getStoredLogRecords().get(0);
        assertEquals(Level.INFO, record.getLevel());
        assertEquals("message", record.getMessage());
        assertSame(EXCEPTION, record.getThrown());
      }
    
      public void testConcurrentModification() throws Exception {
        // Tests for the absence of a bug where logging while iterating over the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java

                    artifact.updateVersion(version, request.getLocalRepository());
                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactResolutionException(e.getMessage(), artifact, e);
                }
            }
        }
    
        @Override
        public void transformForInstall(Artifact artifact, ArtifactRepository localRepository) {
            // metadata is added via addPluginArtifactMetadata
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            try {
                nullContainerFactory.create();
                fail("Should throw IllegalStateException for null container");
            } catch (IllegalStateException e) {
                assertTrue(e.getMessage().contains("crawlerContainer"));
            } catch (Exception e) {
                fail("Expected IllegalStateException but got: " + e.getClass().getName());
            }
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 13:07:01 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbNamedPipeTest.java

                MalformedURLException ex =
                        assertThrows(MalformedURLException.class, () -> new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx()));
                assertEquals("Named pipes are only valid on IPC$", ex.getMessage());
            }
    
            @Test
            @DisplayName("Null context throws NPE (invalid input)")
            void nullContextThrows() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingException.java

                            continue;
                        }
    
                        buffer.append("  [").append(problem.getSeverity()).append("] ");
                        buffer.append(problem.getMessage());
    
                        String location = "";
                        if (!problem.getSource().trim().isEmpty()) {
                            location = problem.getSource();
                        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jul 26 19:15:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            try {
                errorConverter.init();
                fail("Should throw IOException");
            } catch (IOException e) {
                assertEquals("Init failed", e.getMessage());
            }
        }
    
        @Test
        public void testConvertWithNormalText() throws IOException {
            // Test convert with normal text
            converter.init();
            String text = "hello world";
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                }
                return consumer.test(configId, url);
            } catch (final ThumbnailGenerationException e) {
                if (e.getCause() == null) {
                    logger.debug(e.getMessage());
                } else {
                    logger.warn("Failed to process thumbnail: id={}", id, e);
                }
            } catch (final Exception e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                // closing should null tmp; subsequent readDirect should fail
                in.close();
                IOException ex = assertThrows(IOException.class, () -> in.readDirect(new byte[8], 0, 4));
                assertTrue(ex.getMessage().contains("Bad file descriptor"));
            }
    
            @Test
            @DisplayName("available always returns 0")
            void availableAlwaysZero() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false);
    
            SmbException ex = assertThrows(SmbException.class, sut::watch, "Expected SmbException when handle invalid");
            assertTrue(ex.getMessage().contains("Watch was broken by tree disconnect"));
        }
    
        // Happy path for SMB2: a response is received and the list is returned; tree is closed
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top