Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1751 - 1760 of 1,947 for threw (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

            arrayOf<KeyManager>(keyManager),
            arrayOf<TrustManager>(trustManager),
            SecureRandom(),
          )
          sslContext.socketFactory
        } catch (e: GeneralSecurityException) {
          throw AssertionError(e)
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
          return expected.getSuppressed().length;
        }
        throw new AssertionError(); // can't happen
      }
    
      private static CharSource newNormalCharSource() {
        return CharSource.wrap("ABC");
      }
    
      private static CharSink newNormalCharSink() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            // Don't stub mockSid2 since it won't be reached due to NPE on null element
            testSids = new jcifs.SID[] { mockSid1, null, mockSid2 };
    
            // Act & Assert - This should throw an exception when LsarSidArrayX tries to process null
            assertThrows(NullPointerException.class, () -> {
                new MsrpcLookupSids(mockPolicyHandle, testSids);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/test/java/jcifs/SmbWatchHandleTest.java

                        Thread.sleep(Long.MAX_VALUE);
                    } catch (InterruptedException e) {
                        Thread.currentThread().interrupt();
                        throw new CIFSException("Watch interrupted");
                    }
                    return Collections.emptyList();
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top