Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1641 - 1650 of 1,812 for rethrow (0.04 sec)

  1. android/guava/src/com/google/common/collect/Streams.java

      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void closeAll(BaseStream<?, ?>[] toClose) {
        // If one of the streams throws an exception, continue closing the others, then throw the
        // exception later. If more than one stream throws an exception, the later ones are added to the
        // first as suppressed exceptions. We don't catch Error on the grounds that it should be allowed
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

        }
    
        private String encodeUrl(final String url) {
            try {
                return URLEncoder.encode(url, Constants.UTF_8);
            } catch (final UnsupportedEncodingException e) {
                throw new FessSystemException("Unsupported encoding.", e);
            }
        }
    
        public void test_decodeUrl_ok() throws Exception {
            String url, exp;
            final FessFileTransformer transformer = createInstance();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

            logger.log(
              buildString {
                append("<-- HTTP FAILED: $e.")
                append(" ${redactUrl(request.url)} (${tookMs}ms)")
              },
            )
            throw e
          }
    
          val tookMs = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
    
          val responseBody = response.body!!
          val contentLength = responseBody.contentLength()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

        protected FilterChain createDefaultFilterChain() {
            return query -> {
                try {
                    return createQueryParser().parse(query);
                } catch (final ParseException e) {
                    throw new QueryParseException(e);
                }
            };
        }
    
        /**
         * Interface for query filters that can modify or transform queries.
         * Filters are applied in the order they are added to the parser.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsUserBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends User> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/StringsTest.java

            .matches("boiler <.*> plate");
      }
    
      private static class ThrowsOnToString {
        @Override
        public String toString() {
          throw new UnsupportedOperationException();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        void testRunWithNullUrl() {
            TestLocking t = new TestLocking();
            t.url = null; // Null URL
            t.numIter = 0; // No iterations to avoid NPE
    
            // Should not throw exception
            assertDoesNotThrow(() -> t.run(), "run() should handle null URL gracefully");
            assertEquals(1, t.numComplete, "numComplete should still be incremented");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

            if (errorCode != 0 || andxCommand == (byte) 0xFF) {
                andxCommand = (byte) 0xFF;
                andx = null;
            } else if (andx == null) {
                andxCommand = (byte) 0xFF;
                throw new RuntimeException("no andx command supplied with response");
            } else {
    
                /*
                 * Set bufferIndex according to andxOffset
                 */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/PropertyConfiguration.java

            }
    
            value = props.getProperty("jcifs.smb.client.nativeLanMan");
            if (value != null) {
                this.nativeLanMan = value;
            }
    
            // Dialect version properties - these should throw exceptions for invalid values
            String minVersion = props.getProperty("jcifs.smb.client.minVersion");
            String maxVersion = props.getProperty("jcifs.smb.client.maxVersion");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

        assertFailsWith<IOException> {
          anotherClient.newCall(request).execute()
        }.also { expected ->
          when (expected) {
            is SSLException, is TlsFatalAlert -> {}
            else -> throw expected
          }
        }
      }
    
      @Test
      fun connectionsAreNotReusedIfHostnameVerifierChanges() {
        enableHttps()
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (1)
Back to top