Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 2,652 for throwIf (0.27 sec)

  1. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       * should cause {@link #run()} to return.
       */
      protected abstract void run() throws Exception;
    
      /**
       * Stop the service. This method is invoked on the execution thread.
       *
       * <p>By default this method does nothing.
       */
      // TODO: consider supporting a TearDownTestCase-like API
      protected void shutDown() throws Exception {}
    
      /**
       * Invoked to request the service to stop.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

                            }
                        }
                    }
                }
            } catch (final MaxLengthExceededException e) {
                throw e;
            } catch (final Exception e) {
                if (buf.length() == 0) {
                    throw new ExtractException("Could not extract a content.", e);
                }
            } finally {
                CloseableUtil.closeQuietly(ais);
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/script/ScriptEngineFactory.java

        public ScriptEngine getScriptEngine(final String name) {
            if (name == null) {
                throw new ScriptEngineException("script name is null.");
            }
            final ScriptEngine scriptEngine = scriptEngineMap.get(name.toLowerCase(Locale.ROOT));
            if (scriptEngine != null) {
                return scriptEngine;
            }
            throw new ScriptEngineException(name + " is not found.");
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Cut.java

        Comparable<?> endpoint() {
          throw new IllegalStateException("range unbounded on this side");
        }
    
        @Override
        boolean isLessThan(Comparable<?> value) {
          return true;
        }
    
        @Override
        BoundType typeAsLowerBound() {
          throw new IllegalStateException();
        }
    
        @Override
        BoundType typeAsUpperBound() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> when the value is absent, this method
       * throws {@link IllegalStateException}, whereas the {@code java.util} counterpart throws {@link
       * java.util.NoSuchElementException NoSuchElementException}.
       *
       * @throws IllegalStateException if the instance is absent ({@link #isPresent} returns {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

         * @see org.apache.maven.execution.ExecutionEvent
         * @see org.eclipse.aether.RepositoryEvent
         */
        void onEvent(Object event) throws Exception;
    
        /**
         * Notifies the spy of Maven's termination, allowing it to free any resources allocated by it.
         */
        void close() throws Exception;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TarExtractorTest.java

    public class TarExtractorTest extends PlainTestCase {
        private static final Logger logger = LoggerFactory.getLogger(TarExtractorTest.class);
    
        public TarExtractor tarExtractor;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer();
            container.singleton("archiveStreamFactory", ArchiveStreamFactory.class)
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

       * strict, use {@link #reserialize}.
       *
       * @return the re-serialized object
       * @throws RuntimeException if the specified object was not successfully serialized or
       *     deserialized
       * @throws AssertionFailedError if the re-serialized object is not equal to the original object,
       *     or if the hashcodes are different.
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                throws ModelBuilderException {
            ModelBuilderResult result = buildModel(session, project, src);
            Model model = result.getRawModel();
            return transform(model, project);
        }
    
        protected Model buildNonPom(RepositorySystemSession session, MavenProject project, Path src)
                throws ModelBuilderException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java

         * @param artifactCoordinates t
         * @return the version range resolution result
         * @throws VersionResolverException if an errors occurs
         */
        @Nonnull
        default VersionRangeResolverResult resolve(
                @Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates)
                throws VersionResolverException {
            return resolve(VersionRangeResolverRequest.build(session, artifactCoordinates));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top