Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,922 for Try (0.02 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final RelatedQuery relatedQuery = getRelatedQuery(body).map(entity -> {
                try {
                    relatedQueryService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

        val sentRequestMillis = System.currentTimeMillis()
    
        var invokeStartEvent = true
        var responseBuilder: Response.Builder? = null
        var sendRequestException: IOException? = null
        try {
          exchange.writeRequestHeaders(request)
    
          if (HttpMethod.permitsRequestBody(request.method) && requestBody != null) {
            // If there's a "Expect: 100-continue" header on the request, wait for a "HTTP/1.1 100
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                    }
                    if (source != null) {
                        if (!addEdge(from, source.getPath(), problems)) {
                            return null;
                        }
                        try {
                            ModelBuildingRequest gaBuildingRequest =
                                    new DefaultModelBuildingRequest(request).setModelSource(source);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/jar/JarFileUtil.java

         *            ファイルパス。{@literal null}であってはいけません
         * @return 指定されたJarファイルを読み取るための<code>JarFile</code>
         */
        public static JarFile create(final String file) {
            assertArgumentNotNull("file", file);
    
            try {
                return new JarFile(file);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * 指定されたJarファイルを読み取るための<code>JarFile</code>を作成して返します。
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

         * @return 指定されたZipファイルを読み取るための<code>ZipFile</code>
         */
        public static ZipFile create(final String file) {
            assertArgumentNotEmpty("file", file);
    
            try {
                return new ZipFile(file);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * 指定されたZipファイルを読み取るための<code>ZipFile</code>を作成して返します。
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        }
    
        rawSocket.soTimeout = socketReadTimeoutMillis
        try {
          Platform.get().connectSocket(rawSocket, route.socketAddress, socketConnectTimeoutMillis)
        } catch (e: ConnectException) {
          throw ConnectException("Failed to connect to ${route.socketAddress}").apply {
            initCause(e)
          }
        }
    
        // The following try/catch block is a pseudo hacky way to get around a crash on Android 7.0
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                }
    
                artifact.setResolved(true);
    
                return;
            }
    
            if (!artifact.isResolved()) {
                ArtifactResult result;
    
                try {
                    ArtifactRequest artifactRequest = new ArtifactRequest();
                    artifactRequest.setArtifact(RepositoryUtils.toArtifact(artifact));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteSource.java

        }
    
        Closer closer = Closer.create();
        try {
          InputStream in = closer.register(openStream());
          return countBySkipping(in);
        } catch (IOException e) {
          // skip may not be supported... at any rate, try reading
        } finally {
          closer.close();
        }
    
        closer = Closer.create();
        try {
          InputStream in = closer.register(openStream());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

      private static ImmutableList<URL> parseJavaClassPath() {
        ImmutableList.Builder<URL> urls = ImmutableList.builder();
        for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) {
          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

              if (!initialized || closed) {
                return -1L // Nothing to do.
              }
    
              try {
                trimToSize()
              } catch (_: IOException) {
                mostRecentTrimFailed = true
              }
    
              try {
                if (journalRebuildRequired()) {
                  rebuildJournal()
                  redundantOpCount = 0
                }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top