Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,922 for Try (0.03 sec)

  1. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

         * @param writer a writer object.
         * @param settings a settings object.
         * @throws IOException java.io.IOException if any.
         */
        public void write(Writer writer, Settings settings) throws IOException {
            try {
                delegate.write(writer, settings.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
        }
    
        /**
         * Method write.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

            }
    
            body.crudMode = CrudMode.CREATE;
            final FileAuthentication fileAuth = getFileAuthentication(body).map(entity -> {
                try {
                    fileAuthService.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.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
            try {
                final BufferedInputStream bis = new BufferedInputStream(in);
                final String enc = getEncoding(bis);
                final String content = UNESCAPE_HTML4.translate(new String(InputStreamUtil.getBytes(bis), enc));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final WebConfig webConfig = getWebConfig(body).map(entity -> {
                try {
                    webConfigService.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)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

            server.setHandler(handlers);
        }
    
        public void start() {
            try {
                server.start();
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            }
        }
    
        public void stop() {
            try {
                server.stop();
                server.join();
            } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<FactoryMethodReturnsNullException> nullErrors = Lists.newArrayList();
        // Try factories with the greatest number of parameters.
        for (Invokable<?, ?> factory : factories) {
          if (factory.getParameters().size() == numberOfParameters) {
            try {
              testEqualsUsing(factory);
              return;
            } catch (ParameterNotInstantiableException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                List<ArtifactRepository> repos = new ArrayList<>(repositories.size());
    
                for (Object repository : repositories) {
                    if (repository instanceof Repository) {
                        try {
                            ArtifactRepository repo = repositorySystem.buildArtifactRepository((Repository) repository);
                            repositorySystem.injectMirror(request.getRepositorySession(), Arrays.asList(repo));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

        elements.forEach(action);
      }
    
      @Override
      public int size() {
        return elements.size();
      }
    
      @Override
      public boolean contains(@CheckForNull Object o) {
        try {
          return o != null && unsafeBinarySearch(o) >= 0;
        } catch (ClassCastException e) {
          return false;
        }
      }
    
      @Override
      public boolean containsAll(Collection<?> targets) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

            if (boost != null) {
                return boost.toString();
            }
            return null;
        }
    
        public void setBoostValue(final String value) {
            if (value != null) {
                try {
                    boost = Float.parseFloat(value);
                } catch (final Exception e) {}
            }
        }
    
        @Override
        public String getIndexingTarget(final String input) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                final byte[] data = accessResultData.getData();
                if (data == null) {
                    return null;
                }
                final String encoding = accessResultData.getEncoding();
                try {
                    return new String(data, encoding == null ? Constants.UTF_8 : encoding);
                } catch (final UnsupportedEncodingException e) {
                    if (logger.isInfoEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top