Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 472 for throwing (0.12 sec)

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

                PrunedTag.parse("invalid_format_with_special_chars@#$%");
                fail("Should have thrown FessSystemException");
            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Invalid pruned tag"));
            }
    
            try {
                PrunedTag.parse("[invalid]");
                fail("Should have thrown FessSystemException");
            } catch (FessSystemException e) {
    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/src/com/google/common/hash/HashingOutputStream.java

       */
      public HashCode hash() {
        return hasher.hash();
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
      // It should flush itself if necessary.
      @Override
      public void close() throws IOException {
        out.close();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlerSystemException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.exception;
    
    /**
     * The class CrawlerSystemException is a runtime exception that is thrown when a system error occurs during crawling.
     * It extends the RuntimeException class and provides constructors for creating exceptions with a message, a cause, or both.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        void testConstructorWithInvalidInformationLevel() {
            // The exception is thrown during writeParametersWireFormat when mapInformationLevel is called
            Trans2QueryFSInformation trans2 = new Trans2QueryFSInformation(config, 99);
            assertNotNull(trans2);
    
            // Exception should be thrown when trying to write parameters
            byte[] buffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            @Test
            @DisplayName("Should handle null buffer in write operations")
            void testWriteOperationsWithNullBuffer() {
                // Write operations return 0 when given null buffer - no exceptions thrown
                assertEquals(0, response.writeSetupWireFormat(null, 0));
                assertEquals(0, response.writeParametersWireFormat(null, 0));
                assertEquals(0, response.writeDataWireFormat(null, 0));
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                // Clean up
                processHelper.destroyProcess(sessionId1);
                processHelper.destroyProcess(sessionId2);
    
                // Test passes if no exceptions thrown
                assertTrue(true);
            } catch (Exception e) {
                fail("Unexpected exception: " + e.getMessage());
            }
        }
    
        public void test_destroyProcess_withRunningProcess() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ClusterException.java

      final Collection<? extends Throwable> exceptions;
    
      private ClusterException(Collection<? extends Throwable> exceptions) {
        super(
            exceptions.size() + " exceptions were thrown. The first exception is listed as a cause.",
            exceptions.iterator().next());
        ArrayList<? extends Throwable> temp = new ArrayList<>(exceptions);
        this.exceptions = Collections.unmodifiableCollection(temp);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

            } catch (Exception e) {
                // Expected that it may fail due to missing dependencies in test environment
                // but method should be callable
                assertNotNull("Exception should not be null if thrown", e);
            }
        }
    
        public void test_package_structure() {
            assertEquals("Should be in timer package", "org.codelibs.fess.timer", HotThreadMonitorTarget.class.getPackage().getName());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java

     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.lang.reflect.Method;
    
    import org.codelibs.core.lang.MethodUtil;
    
    /**
     * Exception thrown when a {@link Method} cannot be found.
     *
     * @author higa
     *
     */
    public class MethodNotFoundRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -3508955801981550317L;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.io.Serial;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Exception thrown by {@link Interpolator} implementations when an error occurs during interpolation.
     * This can include syntax errors in variable placeholders or recursive variable references.
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top