Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1691 - 1700 of 2,976 for throw (0.02 sec)

  1. guava/src/com/google/common/net/MediaType.java

      }
    
      /**
       * Returns an optional charset for the value of the charset parameter if it is specified.
       *
       * @throws IllegalStateException if multiple charset values have been set for this media type
       * @throws IllegalCharsetNameException if a charset value is present, but illegal
       * @throws UnsupportedCharsetException if a charset value is present, but no support is available
       *     in this instance of the Java virtual machine
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

         *
         * It is an error to call this multiple times on the same instance.
         *
         * @throws IllegalStateException if this request doesn't have a request body, or if it already
         *     has a 'Content-Encoding' header.
         */
        fun gzip() =
          apply {
            val identityBody =
              body
                ?: throw IllegalStateException("cannot gzip a request that has no body")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> filtered =
            filter(
                unfiltered,
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
                    throw new AssertionFailedError("Should never be evaluated");
                  }
                });
    
        List<String> expected = emptyList();
        List<String> actual = Lists.newArrayList(filtered);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

        authentication failures through a single method. An adapter for the old
        authenticator is available in the `okhttp-urlconnection` module.
    
     *  Fix: Don't throw `IOException` on `ResponseBody.contentLength()` or `close()`.
     *  Fix: Never throw converting an `HttpUrl` to a `java.net.URI`. This changes
        the `uri()` method to handle malformed percent-escapes and characters
        forbidden by `URI`.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/NotifyResponseTest.java

            response.setNextResponse(nextResponse);
            assertEquals(nextResponse, response.getNextResponse());
    
            // Test prepare method (should not throw exception)
            assertDoesNotThrow(() -> response.prepare(mockRequest));
        }
    
        @Test
        @DisplayName("Test NotifyResponse returned list immutability")
        void testNotifyResponseListImmutability() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            assertThrows(SMBProtocolDecodingException.class, () -> securityDescriptor.decode(testBuffer, 0, testBuffer.length),
                    "Should throw exception for ACE count > 4096");
        }
    
        @Test
        @DisplayName("Test getType returns correct value")
        void testGetType() throws SMBProtocolDecodingException {
            // Prepare buffer with specific type value
            testBuffer[0] = 0x01; // revision
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/Config.java

         * @throws IOException if an I/O error occurs
         */
        public static void store(final OutputStream out, final String header) throws IOException {
            prp.store(out, header);
        }
    
        /**
         * List the properties in the <code>Config</code>.
         *
         * @param out the print stream to write the properties to
         * @throws IOException if an I/O error occurs
         */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/OsddHelperTest.java

            osddHelper.setOsddPath("osdd/nonexistent.xml");
            osddHelper.init();
            assertFalse(osddHelper.hasOpenSearchFile());
    
            try {
                osddHelper.asStream();
                fail("Should throw exception when osddFile is null");
            } catch (final Exception e) {
                assertEquals("Unsupported Open Search Description Document response.", e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

                    suggestHelper.deleteAllElevateWord(false);
                    suggestHelper.storeAllElevateWords(false);
                } catch (final Exception e) {
                    throw new FessSystemException("Failed to import data.", e);
                }
            });
            saveInfo(messages -> messages.addSuccessUploadElevateWord(GLOBAL));
            return redirect(getClass());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> filtered =
            filter(
                unfiltered,
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
                    throw new AssertionFailedError("Should never be evaluated");
                  }
                });
    
        List<String> expected = emptyList();
        List<String> actual = Lists.newArrayList(filtered);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
Back to top