Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 2,175 for catch (0.23 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to set a property.", e);
                    }
                }
                // parse a content
                parser.parse(is, handler);
    
                return handler.getDataMap();
            } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        taskRunner.newQueue().execute("MockWebServer ${raw.remoteSocketAddress}", cancelable = false) {
          try {
            SocketHandler(raw).handle()
          } catch (e: IOException) {
            logger.fine("$this connection from ${raw.inetAddress} failed: $e")
          } catch (e: Exception) {
            logger.log(Level.SEVERE, "$this connection from ${raw.inetAddress} crashed", e)
          }
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsTest.java

          list.add("5");
          fail("transformed list is addable");
        } catch (UnsupportedOperationException expected) {
        }
        list.remove(0);
        assertEquals(asList("2", "3", "4"), list);
        list.remove("3");
        assertEquals(asList("2", "4"), list);
        try {
          list.set(0, "5");
          fail("transformed list is setable");
        } catch (UnsupportedOperationException expected) {
        }
        list.clear();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ListsTest.java

          list.add("5");
          fail("transformed list is addable");
        } catch (UnsupportedOperationException expected) {
        }
        list.remove(0);
        assertEquals(asList("2", "3", "4"), list);
        list.remove("3");
        assertEquals(asList("2", "4"), list);
        try {
          list.set(0, "5");
          fail("transformed list is setable");
        } catch (UnsupportedOperationException expected) {
        }
        list.clear();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

        assertEquals(false, tearDownTwo.ran);
    
        try {
          stack.runTearDown();
          fail("runTearDown should have thrown an exception");
        } catch (ClusterException expected) {
          assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("two");
        } catch (RuntimeException e) {
          throw new RuntimeException(
              "A ClusterException should have been thrown, rather than a " + e.getClass().getName(), e);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

                return new Metadata();
            }
    
            try (InputStream input = Files.newInputStream(metadataPath)) {
                return new Metadata(new MetadataStaxReader().read(input, false));
            } catch (IOException | XMLStreamException e) {
                throw new RepositoryException("Could not parse metadata " + metadataPath + ": " + e.getMessage(), e);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

                    (InternalFutureFailureAccess) localInputFuture);
          }
          if (throwable == null) {
            sourceResult = getDone(localInputFuture);
          }
        } catch (ExecutionException e) {
          throwable = e.getCause();
          if (throwable == null) {
            throwable =
                new NullPointerException(
                    "Future type "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/DynamicProperties.java

                prop.load(fis);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
            properties = prop;
        }
    
        public synchronized void store() {
            FileOutputStream fos = null;
            try {
                fos = new FileOutputStream(propertiesFile);
                properties.store(fos, propertiesFile.getName());
            } catch (final IOException e) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

        public OptionalEntity<UserInfo> getUserInfo(final String userCode) {
            if (StringUtil.isNotBlank(userCode)) {
                try {
                    return OptionalEntity.of(userInfoCache.get(userCode));
                } catch (final ExecutionException e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to access UserInfo cache.", e);
                    }
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            try {
                return SingletonLaContainer.getComponent(clazz);
            } catch (final NullPointerException e) {
                if (logger.isDebugEnabled()) {
                    throw new ContainerNotAvailableException(clazz.getCanonicalName(), e);
                }
                throw new ContainerNotAvailableException(clazz.getCanonicalName());
            } catch (final ComponentNotFoundException | AutoBindingFailureException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top