Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 447 for getMessages (0.13 sec)

  1. src/main/java/org/codelibs/fess/exception/WebApiException.java

         *
         * @param statusCode The HTTP status code
         * @param e The exception that caused this WebApiException
         */
        public WebApiException(final int statusCode, final Exception e) {
            this(statusCode, e.getMessage(), e);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

                    NullPointerException.class,
                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            /*
             * try { ArtifactResolutionResult res = collect( a ); fail( "Expected b not to resolve: " + res ); } catch (
             * OverConstrainedVersionException e ) { assertTrue( e.getMessage().indexOf( "[1.0-SNAPSHOT]" ) <
             * e.getMessage().indexOf( "[1.0,)" ) ); }
             */
        }
    
        @Test
        @Disabled("that one does not work")
        @SuppressWarnings("checkstyle:UnusedLocalVariable")
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

                } catch (InvalidVersionSpecificationException e) {
                    throw new ProfileActivationException(
                            "Invalid JDK version in profile '" + profile.getId() + "': " + e.getMessage());
                }
            }
    
            boolean reverse = false;
    
            if (jdk.startsWith("!")) {
                reverse = true;
                jdk = jdk.substring(1);
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            TestIterator iterator = new TestIterator(null);
    
            CIFSException ex = assertThrows(CIFSException.class, iterator::close);
            assertEquals("Close failed", ex.getMessage());
        }
    
        @Test
        @DisplayName("Remove delegates to underlying iterator")
        void removeDelegation() {
            when(delegate.hasNext()).thenReturn(false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/PreauthIntegrityTest.java

                        updateMethod.setAccessible(true);
                        updateMethod.invoke(transport, testData);
                    } catch (Exception e) {
                        fail("Thread failed: " + e.getMessage());
                    } finally {
                        doneLatch.countDown();
                    }
                });
            }
    
            // Start all threads at once
            startLatch.countDown();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. android/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)
  8. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

            if (resultSet == null) {
                return;
            }
            try {
                resultSet.close();
            } catch (final SQLException e) {
                logger.log(format("ECL0017", e.getMessage()), e);
            }
        }
    
        /**
         * Moves the result set to the next position.
         *
         * @param resultSet
         *            The result set. Must not be {@literal null}.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

            IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, () -> new NtlmHttpServletRequest(null, mockPrincipal));
            assertEquals("Request cannot be null", ex.getMessage());
        }
    
        @Test
        @DisplayName("auth type is always NTLM")
        void testAuthTypeConstant(@Mock HttpServletRequest mockRequest, @Mock Principal mockPrincipal) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

            try {
                queryCommand.execute(context, termQuery, 1.0f);
                fail("Should throw InvalidQueryException for non-phrase query");
            } catch (InvalidQueryException e) {
                assertTrue(e.getMessage().contains("Unknown q:"));
            }
        }
    
        public void test_convertPhraseQuery_emptyTerms() {
            // Test with empty phrase query - should throw InvalidQueryException
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top