Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 2,175 for catch (0.04 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

        try {
          while (true) {
            val event = takeEvent()
            if (eventClass.isInstance(event)) {
              return eventClass.cast(event)
            }
          }
        } catch (e: NoSuchElementException) {
          throw AssertionError("full event sequence: $fullEventSequence", e)
        }
      }
    
      inline fun <reified T : CallEvent> removeUpToEvent(): T = removeUpToEvent(T::class.java)
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

                classDoc.classProperties.each { propertyDoc ->
                    linkMetaData.addPropertyAccessorMethod(propertyDoc.name, propertyDoc.metaData.getter ?: propertyDoc.metaData.setter)
                }
            } catch (Exception e) {
                throw new DocGenerationException("Failed to generate documentation for class '$classDoc.name'.", e)
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                return result.getArtifactResults().stream()
                        .filter(ArtifactResult::isResolved)
                        .map(ArtifactResult::getArtifact)
                        .collect(Collectors.toList());
            } catch (PluginResolutionException | InterpolatorException e) {
                throw new ExtensionResolutionException(extension, e);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        try {
          presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation);
          absentFeatures = (Feature<?>[]) annotationClass.getMethod("absent").invoke(testerAnnotation);
        } catch (Exception e) {
          throw new IllegalArgumentException("Error extracting features from tester annotation.", e);
        }
        Set<Feature<?>> allPresentFeatures = addImpliedFeatures(copyToSet(presentFeatures));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

                  .lines()
                  .first()
              if (this.launch != CommandLine) {
                println("${it.code} ${it.request.url.host} $firstLine")
              }
              Unit
            }
        } catch (e: IOException) {
          System.err.println(e)
        }
      }
    }
    
    fun main() {
      // Call this before anything else initialises the JSSE stack.
      WireSharkListenerFactory.register()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/QueryHelper.java

                } else {
                    queryContext.setQueryBuilder(QueryBuilders.matchAllQuery());
                }
                // TODO options query
                context.accept(queryContext);
            } catch (final QueryParseException e) {
                throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryParseError(UserMessages.GLOBAL_PROPERTY_KEY),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

              }
            }
          }
    
          val startNs = System.nanoTime()
          val response: Response
          try {
            response = chain.proceed(request)
          } catch (e: Exception) {
            logger.log("<-- HTTP FAILED: $e")
            throw e
          }
    
          val tookMs = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
    
          val responseBody = response.body!!
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

            else -> {
              coordinatorWaiting = true
              coordinatorWakeUpAt = now + minDelayNanos
              try {
                backend.coordinatorWait(this@TaskRunner, minDelayNanos)
              } catch (_: InterruptedException) {
                // Will cause all tasks to exit unless more are scheduled!
                cancelAll()
              } finally {
                coordinatorWaiting = false
              }
            }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ContiguousSet.java

          }
          if (!range.hasUpperBound()) {
            effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue()));
          }
        } catch (NoSuchElementException e) {
          throw new IllegalArgumentException(e);
        }
    
        boolean empty;
        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

            CodeSource codeSource = domain.getCodeSource();
            if (codeSource != null) {
                try {
                    classpath.add(new File(codeSource.getLocation().toURI()));
                } catch (URISyntaxException e) {
                    // silent
                }
            }
        }
    
        private List<JApiCmpWorkerAction.Archive> inferArchives(FileCollection fc) {
            if (fc instanceof Configuration) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
Back to top