Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 2,175 for catch (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/Handshake.kt

    ) {
      /** Returns a possibly-empty list of certificates that identify the remote peer. */
      @get:JvmName("peerCertificates")
      val peerCertificates: List<Certificate> by lazy {
        try {
          peerCertificatesFn()
        } catch (spue: SSLPeerUnverifiedException) {
          listOf()
        }
      }
    
      @JvmName("-deprecated_tlsVersion")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "tlsVersion"),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                    // encrypted
                    try {
                        this.password = pwAuth.getAnsiHash(this.ctx, this.server.encryptionKey);
                    }
                    catch ( GeneralSecurityException e ) {
                        throw new RuntimeCIFSException("Failed to encrypt password", e);
                    }
                    this.passwordLength = this.password.length;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                if (reloadableFile != null) {
                    lastModified = reloadableFile.lastModified();
                } else {
                    lastModified = System.currentTimeMillis();
                }
    
            } catch (final Exception e) {
                throw new IllegalArgumentException("failed to build synonyms", e);
            }
        }
    
        private Reader getReader(final boolean reload) throws IOException {
            if (reload) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                                this.type = SmbConstants.TYPE_WORKGROUP;
                                return this.type;
                            }
                        }
                    }
                    catch ( CIFSException e ) {
                        if ( ! ( e.getCause() instanceof UnknownHostException ) ) {
                            throw e;
                        }
                        log.debug("Unknown host", e);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

                }
    
                return goal.execute(context);
            } catch (InterruptedException | InterruptedIOException | UserInterruptException e) {
                context.terminal.writer().println("Goal canceled by user.");
                return CANCELED;
            } catch (Exception e) {
                if (context.invokerRequest.options().showErrors().orElse(false)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                PluginDescriptor pluginDescriptor = mojoDescriptor.getPluginDescriptor();
                return getMavenSession().getPluginContext(pluginDescriptor, ((DefaultProject) project).getProject());
            } catch (LookupException e) {
                throw new MavenException("The PluginContext is only available during a mojo execution", e);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. tests/test_ws_router.py

        # and no error is leaked
        assert caught == []
    
    
    def test_depend_err_middleware():
        """
        Verify that it is possible to write custom WebSocket middleware to catch errors
        """
    
        @websocket_middleware
        async def errorhandler(websocket: WebSocket, call_next):
            try:
                return await call_next()
            except Exception as e:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

                try {
                    accessTokenService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

            getLabelType(form).ifPresent(entity -> {
                try {
                    labelTypeService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                parser.setDefaultOperator(StandardQueryConfigHandler.Operator.AND);
    
                termQueryList = getTermQueryList(parser.parse(q, "default"), fields);
            } catch (final Exception e) {
                return keywords;
            }
            for (final TermQuery tq : termQueryList) {
                final String text = tq.getTerm().text();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top