Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,922 for try (0.04 sec)

  1. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

          synchronized (this) {
            if (!isThreadScheduled) {
              isThreadScheduled = true;
              scheduleEventRunner = true;
            }
          }
          if (scheduleEventRunner) {
            try {
              executor.execute(this);
            } catch (Exception e) { // sneaky checked exception
              // reset state in case of an error so that later dispatch calls will actually do something
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final FileConfig fileConfig = getFileConfig(body).map(entity -> {
                try {
                    fileConfigService.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
    - 7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

                try (final InputStream is = responseData.getResponseBody(); final OutputStream os = new FileOutputStream(file);) {
                    CopyUtil.copy(is, os);
                } catch (final IOException e) {
                    throw new CrawlerSystemException("Could not store " + file.getAbsolutePath(), e);
                }
            }
            try {
                resultData.setData(path.getBytes(charsetName));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

          try {
            logger
                .get()
                .log(
                    SEVERE,
                    String.format(Locale.ROOT, "Caught an exception in %s.  Shutting down.", t),
                    e);
          } catch (Throwable errorInLogging) { // sneaky checked exception
            // If logging fails, e.g. due to missing memory, at least try to log the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

        }
    
        public Metadata read(Reader input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (Reader in = input) {
                return new Metadata(new MetadataStaxReader().read(in, isStrict(options)));
            } catch (XMLStreamException e) {
                throw new MetadataParseException(
                        e.getMessage(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Writer.java

         *
         * @param writer a writer object.
         * @param model a model object.
         * @throws IOException java.io.IOException if any.
         */
        public void write(Writer writer, Model model) throws IOException {
            try {
                delegate.write(writer, model.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
        } // -- void write( Writer, Model )
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/TestTls13Request.kt

    private val TLS_12 =
      ConnectionSpec.Builder(ConnectionSpec.RESTRICTED_TLS)
        .tlsVersions(TlsVersion.TLS_1_2)
        .build()
    
    private fun testClient(
      urls: List<String>,
      client: OkHttpClient,
    ) {
      try {
        for (url in urls) {
          sendRequest(client, url)
        }
      } finally {
        client.dispatcher.executorService.shutdownNow()
        client.connectionPool.evictAll()
      }
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmContext.java

        private static final Logger log = LoggerFactory.getLogger(NtlmContext.class);
    
        /**
         * 
         */
        public static ASN1ObjectIdentifier NTLMSSP_OID;
    
        static {
            try {
                NTLMSSP_OID = new ASN1ObjectIdentifier("1.3.6.1.4.1.311.2.2.10");
            }
            catch ( IllegalArgumentException e ) {
                log.error("Failed to parse OID", e);
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

            final DateFormat formatter = new SimpleDateFormat(CoreLibConstants.DATE_FORMAT_ISO_8601_EXTEND);
            try {
                List<String> list;
                csvReader.readValues(); // ignore header
                while ((list = csvReader.readValues()) != null) {
                    try {
                        final String sessionId = list.get(0);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/DoubleMathTest.java

            boolean isInBounds =
                expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0
                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
              assertEquals(expected.intValue(), DoubleMath.roundToInt(d, mode));
              assertTrue(isInBounds);
            } catch (ArithmeticException e) {
              assertFalse(isInBounds);
            }
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
Back to top