Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 447 for setMessage (0.05 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            try {
                emptyGenerator.isTarget(docMap);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
                assertTrue(e.getMessage().contains("Not initialized"));
            }
        }
    
        public void test_getName() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
            // Test default name (null)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/spnego/NegTokenInitTest.java

                    null, null);
    
            IOException ex = assertThrows(IOException.class, () -> new NegTokenInit(token));
            assertTrue(ex.getMessage().contains("OID"), "Error should mention OID");
        }
    
        @Test
        @DisplayName("Parse accepts non-zero outer tag numbers (current implementation behavior)")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

                if (logger.isDebugEnabled()) {
                    logger.debug(e.getMessage(), e);
                }
                throwValidationErrorApi(e.getMessageCode());
            } catch (final ResultOffsetExceededException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug(e.getMessage(), e);
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                fail("Should throw IORuntimeException");
            } catch (IORuntimeException e) {
                assertTrue(e.getCause() instanceof IOException);
                assertEquals("Test exception", e.getCause().getMessage());
            }
        }
    
        public void test_getXContentString_withEmptyContent() {
            ToXContent xContent = new ToXContent() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                        assertThrows(SMBProtocolDecodingException.class, () -> echoResponse.readBytesWireFormat(buffer, bufferIndex));
    
                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 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
    - 15.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/message/MessageFormatter.java

        /**
         * Returns the message.
         *
         * @param messageCode
         *            Message code
         * @param args
         *            Arguments
         * @return Message
         */
        public static String getMessage(final String messageCode, final Object... args) {
            return getFormattedMessage(messageCode == null ? "" : messageCode, getSimpleMessage(messageCode, args));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/sql/StatementUtil.java

            if (statement == null) {
                return;
            }
            try {
                statement.close();
            } catch (final SQLException e) {
                logger.log(format("ECL0017", e.getMessage()), e);
            }
        }
    
        /**
         * Returns the result set.
         *
         * @param statement
         *            {@link Statement}. Must not be {@literal null}.
         * @return The result set.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

                }
            }
    
            try {
                repoSystem.install(session, request);
            } catch (InstallationException e) {
                throw new ArtifactInstallationException(e.getMessage(), e);
            }
    
            /*
             * NOTE: Not used by Maven core, only here to provide backward-compat with plugins like the Install Plugin.
             */
    
            if (artifact.isSnapshot()) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top