Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 2,098 for try (0.01 sec)

  1. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

         */
        @Override
        public void close() throws IOException {
            try {
                super.close();
            } finally {
                if (!isInMemory() && !done) {
                    final File file = super.getFile();
                    if (file != null) {
                        try {
                            Files.deleteIfExists(file.toPath());
                        } catch (final IOException e) {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

            final StringBuilder buf = new StringBuilder(1000);
            int processedEntries = 0;
            int failedEntries = 0;
    
            try (final ArchiveInputStream ais = archiveStreamFactory.createArchiveInputStream("tar", in)) {
                TarArchiveEntry entry = null;
                long contentSize = 0;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/context/CIFSContextWrapper.java

         *
         * @see jcifs.CIFSContext#get(java.lang.String)
         */
        @Override
        public SmbResource get(final String url) throws CIFSException {
            try {
                return new SmbFile(url, this);
            } catch (final MalformedURLException e) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
        /**
         *
         * {@inheritDoc}
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SambaHelper.java

         * @param sid The SID.
         * @return The account ID.
         */
        public String getAccountId(final SID sid) {
            final int type = sid.getType();
            if (logger.isDebugEnabled()) {
                try {
                    logger.debug("Processing SID: {} {} {}", type, sid, sid.toDisplayString());
                } catch (final Exception e) {
                    // ignore
                }
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

         * @param propPath The path to the project properties file.
         * @throws FessSystemException if the properties file cannot be parsed.
         */
        protected void parseProjectProperties(final Path propPath) {
            try (final InputStream in = Files.newInputStream(propPath)) {
                final Properties prop = new Properties();
                prop.load(in);
                version = prop.getProperty("fess.version", "0.0.0");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                    final String sesState = (String) session.getAttribute(SAML_STATE);
                    if (StringUtil.isNotBlank(sesState)) {
                        session.removeAttribute(SAML_STATE);
                        try {
                            final Auth auth = new Auth(getSettings(), request, response);
                            auth.processResponse();
    
                            if (!auth.isAuthenticated()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Dec 14 01:18:25 UTC 2025
    - 20.2K bytes
    - Viewed (3)
  7. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                    dictionaryPath = fessConfig.getIndexDictionaryPrefix() + "/" + path;
                } else {
                    dictionaryPath = path;
                }
                try {
                    source = FileUtil.readUTF8(filePath);
                    try (CurlResponse response =
                            ComponentUtil.getCurlHelper().post("/_configsync/file").param("path", dictionaryPath).body(source).execute()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 122.4K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java

                throwValidationErrorApi(messages -> {
                    messages.addErrorsCrudFailedToCreateInstance(GLOBAL);
                });
                return null;
            });
            try {
                groupService.store(entity);
                saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
            } catch (final Exception e) {
                logger.warn("Failed to process a request.", e);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final BoostDocumentRule boostDoc = getBoostDocumentRule(body).map(entity -> {
                try {
                    boostDocumentRuleService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

      fun play() {
        serverSocket = ServerSocket(0)
        executor.execute {
          val threadName = "SocksProxy ${serverSocket!!.localPort}"
          Thread.currentThread().name = threadName
          try {
            while (true) {
              val socket = serverSocket!!.accept()
              connectionCount.incrementAndGet()
              service(socket)
            }
          } catch (e: SocketException) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top