Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 2,976 for throwIt (0.04 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt

          certificates as Array<Certificate>
        }
    
      @Throws(
        SSLPeerUnverifiedException::class,
      )
      override fun getPeerCertificateChain(): Array<X509Certificate> = throw UnsupportedOperationException()
    
      override fun getPeerHost(): String = throw UnsupportedOperationException()
    
      override fun getPeerPort(): Int = throw UnsupportedOperationException()
    
      @Throws(SSLPeerUnverifiedException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/MIENameTest.java

            }
    
            // Act + Assert
            Throwable t = assertThrows(expected, () -> new MIEName(buf));
            // MIEName throws IllegalArgumentException without messages, so we don't assert on message presence
            assertNotNull(t, "Exception should be thrown");
        }
    
        @Nested
        @DisplayName("equals, hashCode, toString")
        class EqualityContract {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/PathValidator.java

         * @return normalized safe path
         * @throws SmbException if path is invalid or dangerous
         */
        public String validatePath(String path) throws SmbException {
            if (path == null || path.isEmpty()) {
                throw new SmbException("Path cannot be null or empty");
            }
    
            // Check length
            if (path.length() > maxPathLength) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. docs/recipes.md

          private final OkHttpClient client = new OkHttpClient();
    
          public void run() throws Exception {
            RequestBody requestBody = new RequestBody() {
              @Override public MediaType contentType() {
                return MEDIA_TYPE_MARKDOWN;
              }
    
              @Override public void writeTo(BufferedSink sink) throws IOException {
                sink.writeUtf8("Numbers\n");
                sink.writeUtf8("-------\n");
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            }, "Should throw IllegalStateException after destroy");
    
            assertThrows(IllegalStateException.class, () -> {
                storage.decryptCredentials(encrypted);
            }, "Should throw IllegalStateException after destroy");
    
            // Clean up
            Arrays.fill(plaintext, '\0');
        }
    
        @Test
        public void testAutoCloseable() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

         * @param listener the response listener
         * @throws UnsupportedOperationException always thrown as this operation is not implemented
         */
        @Override
        public void searchView(org.opensearch.action.admin.indices.view.SearchViewAction.Request request,
                ActionListener<SearchResponse> listener) {
            throw new UnsupportedOperationException("Not implemented yet");
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

                throws CIFSException {
            return delegate.getDfsReferrals(ctx, name, targetHost, targetDomain, rn);
        }
    
        @Override
        public boolean isSigningOptional() throws SmbException {
            return delegate.isSigningOptional();
        }
    
        @Override
        public boolean isSigningEnforced() throws SmbException {
            return delegate.isSigningEnforced();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

            }
            trail = null;
        }
    
        /**
         * @return {@link List} &lt; {@link String} &gt; with artifact ids
         * @throws OverConstrainedVersionException if version specification is over constrained
         */
        public List<String> getDependencyTrail() throws OverConstrainedVersionException {
            List<Artifact> trial = getTrail();
    
            List<String> ret = new ArrayList<>(trial.size());
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            ComponentUtil.register(crawler, Crawler.class.getCanonicalName());
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            // Clear static fields
            clearStaticFields();
        }
    
        private void clearStaticFields() throws Exception {
            Field runningField = Crawler.class.getDeclaredField("running");
            runningField.setAccessible(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

        }
    
        @Test
        public void testFileBasedCacheConstructor() throws IOException {
            tempFile = File.createTempFile("test", ".tmp", Curl.tmpDir);
            ContentCache cache = new ContentCache(tempFile);
    
            assertNotNull(cache);
        }
    
        @Test
        public void testMemoryBasedCacheGetInputStream() throws IOException {
            String testContent = "Hello, World!";
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top