Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 447 for getMessager (0.07 sec)

  1. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Invalid pruned tag"));
            }
    
            try {
                PrunedTag.parse("[invalid]");
                fail("Should have thrown FessSystemException");
            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Invalid pruned tag"));
            }
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/TestLogHandler.java

     *       }
     *     });
     *   }
     *
     *   public void test() {
     *     SomeClass.foo();
     *     LogRecord firstRecord = handler.getStoredLogRecords().get(0);
     *     assertEquals("some message", firstRecord.getMessage());
     *   }
     * </pre>
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    public class TestLogHandler extends Handler {
      private final Object lock = new Object();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

         *            The cause of the exception
         */
        public ClIllegalArgumentException(final String argName, final String messageCode, final Object[] args, final Throwable cause) {
            super(MessageFormatter.getMessage(messageCode, args), cause);
            this.argName = argName;
            this.messageCode = messageCode;
            this.args = args;
        }
    
        /**
         * Returns the name of the argument.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TestLocking.java

                            }
                            in.close();
                        }
                    } catch (final IOException ioe) {
                        logger.error("I/O error occurred: {}", ioe.getMessage(), ioe);
                    }
    
                }
            } catch (final Exception e) {
                logger.error("Error in test execution", e);
            } finally {
                numComplete++;
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java

            problems.problems().forEach(problem -> msg.append("\n * ")
                    .append(problem.getSeverity().name())
                    .append(": ")
                    .append(problem.getMessage()));
            return msg.toString();
        }
    
        /**
         * Returns the problem collector associated with this exception.
         *
         * @return the problem collector containing all problems related to this exception
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

        }
    
        public void test_init() {
            try {
                fileTypeHelper.init();
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_add() {
            fileTypeHelper.add("application/pdf", "pdf");
            assertEquals("pdf", fileTypeHelper.get("application/pdf"));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                // Some invalid queries might be handled gracefully
            } catch (InvalidQueryException e) {
                // This is expected for malformed queries
                assertNotNull(e.getMessage());
                assertTrue(e.getMessage().contains("Invalid query"));
            }
        }
    
        public void test_build_emptyQuery() {
            QueryContext context = queryHelper.build(SearchRequestType.SEARCH, "", ctx -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                assertTrue("Exception should be DictionaryException", e instanceof DictionaryException);
                assertTrue("Message should mention userDict file",
                        e.getMessage().contains("userDict") || e.getMessage().contains("Failed to write"));
            } finally {
                // Ensure proper cleanup
                if (updater != null) {
                    try {
                        updater.close();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top