Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1161 - 1170 of 2,175 for catch (0.04 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        }
    
        override fun close() {
          if (closed) {
            throw AssertionError("Already closed")
          }
          try {
            source.close()
          } catch (ignored: IOException) {
          }
          try {
            sink.close()
          } catch (ignored: IOException) {
          }
          closed = true
        }
    
        override fun cancel() {
          canceled = true
          sourcePipe.cancel()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          // We use getUninterruptibly over getDone as a micro-optimization, we know the future is done.
          collectOneValue(index, getUninterruptibly(future));
        } catch (ExecutionException e) {
          handleException(e.getCause());
        } catch (Throwable t) { // sneaky checked exception
          handleException(t);
        }
      }
    
      private void decrementCountAndMaybeComplete(
          @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

              return;
            }
          }
          final V value;
          try {
            value = getDone(future);
          } catch (ExecutionException e) {
            callback.onFailure(e.getCause());
            return;
          } catch (Throwable e) {
            // Any Exception is either a RuntimeException or sneaky checked exception.
            callback.onFailure(e);
            return;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            try ( SmbSessionImpl session = this.treeConnection.getSession();
                  SmbTransportImpl transport = session.getTransport() ) {
                return transport.isSMB2();
            }
            catch ( SmbException e ) {
                log.debug("Failed to connect for determining SMB2 support", e);
                return false;
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

        }
    
        @PreDestroy
        private void doDeleteFiles() {
            for (Path file : toDelete) {
                try {
                    Files.delete(file);
                } catch (IOException e) {
                    // ignore, we did our best...
                }
            }
        }
    
        public InstallRequest remapInstallArtifacts(RepositorySystemSession session, InstallRequest request) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                        setId(target, searchHit.getId());
                        targetList.add(target);
                    }
                } catch (final Exception e) {
                    throw new OpenSearchAccessException("response: " + response, e);
                }
            }
            return targetList;
        }
    
        @SuppressWarnings("unchecked")
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

        public void destroy() {
            available = false;
            for (final ComponentHolder<?> componentHolder : singletonMap.values()) {
                try {
                    componentHolder.destroy();
                } catch (final Exception e) {
                    logger.warn("Failed to destroy " + componentHolder.get(), e);
                }
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractService.java

      @Override
      public final Service startAsync() {
        if (monitor.enterIf(isStartable)) {
          try {
            snapshot = new StateSnapshot(STARTING);
            enqueueStartingEvent();
            doStart();
          } catch (Throwable startupFailure) {
            restoreInterruptIfIsInterruptedException(startupFailure);
            notifyFailed(startupFailure);
          } finally {
            monitor.leave();
            dispatchListenerEvents();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Optional.java

       */
      @SuppressWarnings({
        "AmbiguousMethodReference", // We chose the name despite knowing this risk.
        "Java7ApiChecker",
      })
      // If users use this when they shouldn't, we hope that NewApi will catch subsequent Optional calls
      @IgnoreJRERequirement
      @CheckForNull
      public static <T> java.util.Optional<T> toJavaUtil(@CheckForNull Optional<T> googleOptional) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsDataConfigBhv.java

                result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
                result.setVirtualHosts(toStringArray(source.get("virtualHosts")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top