Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 2,652 for throwIf (0.08 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

         * @param name Method name.
         * @param params Method parameters.
         * @return The found method.
         * @throws MethodMap.AmbiguousException in case of duplicate methods.
         */
        public Method findMethod(String name, Object... params) throws MethodMap.AmbiguousException {
            String methodKey = makeMethodKey(name, params);
            Object cacheEntry = methodCache.get(methodKey);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

      }
    
      @Throws(IOException::class)
      private fun writeMetadata(upstreamSize: Long) {
        val metadataBuffer = Buffer()
        metadataBuffer.write(metadata)
    
        val fileOperator = FileOperator(file!!.channel)
        fileOperator.write(FILE_HEADER_SIZE + upstreamSize, metadataBuffer, metadata.size.toLong())
      }
    
      @Throws(IOException::class)
      fun commit(upstreamSize: Long) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                            .execute().actionGet(settings.getIndicesTimeout());
                }
            } catch (final IOException e) {
                throw new SuggestSettingsException("Failed to create mappings.");
            }
        }
    
        protected String loadIndexSettings() throws IOException {
            final String dictionaryPath = System.getProperty("fess.dictionary.path", StringUtil.EMPTY);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

     * possibly run in another thread.
     *
     * <p>{@code UncheckedExecutionException} is intended as an alternative to {@code
     * ExecutionException} when the exception thrown by a task is an unchecked exception. However, it
     * may also wrap a checked exception in some cases.
     *
     * <p>When wrapping an {@code Error} from another thread, prefer {@link ExecutionError}. When
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

                super(f, a);
                defaultField = f;
            }
    
            @Override
            protected Query getFieldQuery(final String field, final String queryText, final boolean quoted) throws ParseException {
                final org.apache.lucene.search.Query query = super.getFieldQuery(field, queryText, quoted);
                if (quoted && query instanceof final TermQuery termQuery) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

            final RequestData requestData = new RequestData();
            requestData.setMethod(method);
            requestData.setUrl(url);
            return requestData;
        }
    
        @Override
        public void close() throws IOException {
            if (isTemporaryFile) {
                FileUtil.deleteInBackground(responseBodyFile);
            }
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Exception in parsing BodyPart.", e);
                }
            }
        }
    
        protected static Date getReceivedDate(final Message message) throws MessagingException {
            final Date today = new Date();
            final String[] received = message.getHeader("received");
            if (received != null) {
                for (final String v : received) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/InterceptorTest.kt

        interceptorThrowsRuntimeExceptionSynchronous(true)
      }
    
      /**
       * When an interceptor throws an unexpected exception, synchronous callers can catch it and deal
       * with it.
       */
      private fun interceptorThrowsRuntimeExceptionSynchronous(network: Boolean) {
        addInterceptor(network) { chain: Interceptor.Chain? -> throw RuntimeException("boom!") }
        val request =
          Request.Builder()
            .url(server.url("/"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        return i.getAndSet(count);
      }
    
      // Don't allow default serialization.
      @GwtIncompatible // java.io.ObjectStreamException
      @J2ktIncompatible
      private void readObjectNoData() throws ObjectStreamException {
        throw new InvalidObjectException("Stream data required");
      }
    
      @GwtIncompatible // not needed in emulated source.
      @J2ktIncompatible
      private static final long serialVersionUID = -2250766705698539974L;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      @SuppressLint("NewApi")
      override fun afterEach(context: ExtensionContext) {
        val failure = context.executionException.orElseGet { null }
    
        if (uncaughtException != null) {
          throw failure + AssertionError("uncaught exception thrown during test", uncaughtException)
        }
    
        if (context.isFlaky()) {
          logEvents()
        }
    
        LogManager.getLogManager().reset()
    
        var result: Throwable? = failure
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top