Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2851 - 2860 of 3,670 for throwIf (0.05 seconds)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java

     * under the License.
     */
    package org.apache.maven.settings.building;
    
    /**
     * Describes a problem that was encountered during settings building. A problem can either be an exception that was
     * thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file
     * that exhibits the problem.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                            builder.add(updateRequest);
                        }
    
                        return builder.execute();
                    });
                    if (bulkResponse.hasFailures()) {
                        throw new OpenSearchAccessException(bulkResponse.buildFailureMessage());
                    }
    
                    final String sid = scrollId;
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 16.9K bytes
    - Click Count (1)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

    @NullUnmarked
    public class TypeTokenSubtypeTest extends TestCase {
    
      public void testOwnerTypeSubtypes() throws Exception {
        new OwnerTypeSubtypingTests().testAllDeclarations();
      }
    
      public void testWildcardSubtypes() throws Exception {
        new WildcardSubtypingTests().testAllDeclarations();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 20.4K bytes
    - Click Count (0)
  4. android-test/src/androidDeviceTest/java/okhttp/android/test/OkHttpTest.kt

        try {
          try {
            ProviderInstaller.installIfNeeded(InstrumentationRegistry.getInstrumentation().targetContext)
          } catch (gpsnae: GooglePlayServicesNotAvailableException) {
            throw TestAbortedException("Google Play Services not available", gpsnae)
          }
    
          val request = Request.Builder().url("https://facebook.com/robots.txt").build()
    
          var socketClass: String? = null
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    
    /**
     * Exception thrown when an error occurs during data store crawling operations.
     * This exception provides information about the URL where the error occurred
     * and whether the crawling process should be aborted.
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Nov 19 08:04:23 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt

          .build()
    
      fun run() {
        try {
          val request = Request(server.url("/"))
    
          client.newCall(request).execute().use { response ->
            if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
            println(response.request.url)
          }
        } finally {
          server.shutdown()
        }
      }
    }
    
    fun main() {
      DevServer().run()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/ParseResponseWithMoshi.kt

          Request
            .Builder()
            .url("https://api.github.com/gists/c2a7c39532239ff261be")
            .build()
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          val gist = gistJsonAdapter.fromJson(response.body!!.source())
    
          for ((key, value) in gist!!.files!!) {
            println(key)
            println(value.content)
          }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. benchmarks/src/main/java/org/elasticsearch/benchmark/time/DateFormatterFromBenchmark.java

        @Benchmark
        public TemporalAccessor benchmarkFrom() {
            // benchmark an accessor that does not contain a timezone
            // this used to throw an exception earlier and thus was very very slow
            return DateFormatters.from(accessor);
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 03 00:10:53 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

         * and performs bulk indexing operations with proper error handling.
         *
         * @param searchEngineClient the search engine client to use for indexing
         * @param docList the list of documents to be indexed
         * @throws SearchEngineClientException if the bulk indexing operation fails
         */
        public void sendDocuments(final SearchEngineClient searchEngineClient, final DocList docList) {
            if (docList.isEmpty()) {
                return;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 26.1K bytes
    - Click Count (0)
Back to Top