Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 1,808 for try (0.01 sec)

  1. src/main/java/jcifs/http/NtlmHttpURLConnection.java

            this.transportContext = tc;
            this.requestProperties = new HashMap<>();
            copySettings();
        }
    
        /**
         *
         */
        private final void copySettings() {
            try {
                this.setRequestMethod(this.connection.getRequestMethod());
            } catch (final ProtocolException e) {
                throw new RuntimeCIFSException("Failed to set request method", e);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. 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 Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

            verifyCrudMode(form.crudMode, CrudMode.CREATE);
            validate(form, messages -> {}, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getPathMapping(form).ifPresent(entity -> {
                try {
                    pathMappingService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            for (final int v : fessConfig.getQueryHighlightTerminalCharsAsArray()) {
                highlightTerminalCharSet.add(v);
            }
            try {
                final ServletContext servletContext = ComponentUtil.getComponent(ServletContext.class);
                servletContext.setSessionTrackingModes(
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

      }
    
      override fun isCanceled(): Boolean = canceled
    
      override fun execute(): Response {
        check(executed.compareAndSet(false, true)) { "Already Executed" }
    
        timeout.enter()
        callStart()
        try {
          client.dispatcher.executed(this)
          return getResponseWithInterceptorChain()
        } finally {
          client.dispatcher.finished(this)
        }
      }
    
      override fun enqueue(responseCallback: Callback) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial007.py hl[5,6] *}
    
    /// tip | 豆知識
    
    `async`や通常の関数を使用することができます。
    
    **FastAPI** は、通常の依存関係と同じように、それぞれで正しいことを行います。
    
    ///
    
    ## `yield`と`try`を持つ依存関係
    
    `yield`を持つ依存関係で`try`ブロックを使用した場合、その依存関係を使用した際に発生した例外を受け取ることになります。
    
    例えば、途中のどこかの時点で、別の依存関係や*path operation*の中で、データベーストランザクションを「ロールバック」したり、その他のエラーを作成したりするコードがあった場合、依存関係の中で例外を受け取ることになります。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/InputStreamUtilTest.java

        /**
         * @throws Exception
         */
        public void testGetBytes() throws Exception {
            final InputStream is = ResourceUtil.getResourceAsStream(StringUtil.replace(getClass().getName(), ".", "/") + ".class");
            try {
                assertNotNull("1", InputStreamUtil.getBytes(is));
            } finally {
                is.close();
            }
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

        OutputStream out = sink.openStream();
        try {
          ByteStreams.copy(new ByteArrayInputStream(data), out);
        } finally {
          out.close();
        }
    
        assertContainsExpectedBytes();
      }
    
      public void testOpenBufferedStream() throws IOException {
        OutputStream out = sink.openBufferedStream();
        try {
          ByteStreams.copy(new ByteArrayInputStream(data), out);
        } finally {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/ByteSinkTester.java

        OutputStream out = sink.openStream();
        try {
          ByteStreams.copy(new ByteArrayInputStream(data), out);
        } finally {
          out.close();
        }
    
        assertContainsExpectedBytes();
      }
    
      public void testOpenBufferedStream() throws IOException {
        OutputStream out = sink.openBufferedStream();
        try {
          ByteStreams.copy(new ByteArrayInputStream(data), out);
        } finally {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

                return auth.getNtlmPasswordAuthentication();
            }
        }
    
        /**
         * An application extending this class must provide an implementation for this method that returns new user credentials try try when accessing SMB resources described by the <code>getRequestingURL</code> and <code>getRequestingException</code> methods.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top