Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 376 for throw (1.02 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalControllerTest.java

                beforeProcessingCount++;
                if (shouldThrowException) {
                    throw new RuntimeException("Test exception in delayBeforeProcessing");
                }
            }
    
            @Override
            protected void delayAfterProcessing() {
                afterProcessingCount++;
                if (shouldThrowException) {
                    throw new RuntimeException("Test exception in delayAfterProcessing");
                }
            }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:58:39 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          throw t;
        }
      }
    
      /** Calls threadFail with message "should throw exception". */
      public void threadShouldThrow() {
        threadFail("should throw exception");
      }
    
      /** Calls threadFail with message "should throw" + exceptionName. */
      public void threadShouldThrow(String exceptionName) {
        threadFail("should throw " + exceptionName);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ArchetypeGraph.java

       * {@code view} returned by this method will be invalidated, and will throw {@code
       * IllegalStateException} if it is accessed in any way, with the following exceptions:
       *
       * <ul>
       *   <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals(...)}
       *       expression involving {@code view} will throw)
       *   <li>{@code hashCode()} does not throw
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 11 17:11:16 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

        }
    
        /**
         * Test that getText throws exception when null stream is provided.
         * Note: validateInputStream throws the exception, so the validateCalled flag
         * is never set to true (exception is thrown before flag assignment).
         */
        public void test_getText_throwsExceptionForNullStream() {
            try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessorTest.java

            } catch (Exception e) {
                fail("Should not throw exception in test setup");
            }
    
            // Execute and verify ChildUrlsException is thrown
            try {
                processor.process(responseData);
                fail("Should throw ChildUrlsException");
            } catch (ChildUrlsException e) {
                // Expected exception
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java

            } catch (final IOException e) {
                throw new CrawlerSystemException("Could not create a temp file.", e);
            }
        }
    
        /**
         * Validates that the input stream is not null.
         * This is a common validation performed by most extractors.
         *
         * @param in The input stream to validate
         * @throws CrawlerSystemException if the input stream is null
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    }
                }
    
                if (pluginDescriptor == null) {
                    throw new IOException("No plugin descriptor found at " + getPluginDescriptorLocation());
                }
            } catch (IOException e) {
                throw new PluginDescriptorParsingException(plugin, pluginFile.getAbsolutePath(), e);
            }
    
            List<String> errors = new ArrayList<>();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/CurlRequest.java

        /**
         * Constructs a new CurlRequest with the specified HTTP method.
         *
         * @param method the HTTP method
         * @throws IllegalArgumentException if method is null
         */
        public CurlRequest(final Method method) {
            if (method == null) {
                throw new IllegalArgumentException("method must not be null");
            }
            this.method = method;
        }
    
        /**
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/crypto/CachedCipher.java

                    throw new InvalidKeyRuntimeException(e);
                } catch (final NoSuchAlgorithmException e) {
                    throw new NoSuchAlgorithmRuntimeException(e);
                } catch (final NoSuchPaddingException e) {
                    throw new NoSuchPaddingRuntimeException(e);
                } catch (final UnsupportedEncodingException e) {
                    throw new UnsupportedEncodingRuntimeException(e);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

        }
    
        /**
         * Initializes the extractor by starting the office manager.
         *
         * @throws CrawlerSystemException if the office manager is null or fails to start
         */
        @PostConstruct
        public void init() {
            if (officeManager == null) {
                throw new CrawlerSystemException("officeManager is null.");
            }
            try {
                officeManager.start();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top