Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 3,054 for throws (0.06 sec)

  1. src/main/java/jcifs/util/SimpleCircuitBreaker.java

            if (failureThreshold < 1) {
                throw new IllegalArgumentException("Failure threshold must be at least 1");
            }
            if (successThreshold < 1) {
                throw new IllegalArgumentException("Success threshold must be at least 1");
            }
            if (timeoutMillis < 0) {
                throw new IllegalArgumentException("Timeout must be non-negative");
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt

      }
    
      override fun getValueNames(): Array<String> = delegate!!.valueNames
    
      @Throws(SSLPeerUnverifiedException::class)
      override fun getPeerCertificates(): Array<Certificate>? = delegate!!.peerCertificates
    
      override fun getLocalCertificates(): Array<Certificate>? = delegate!!.localCertificates
    
      @Throws(SSLPeerUnverifiedException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilder.java

         * @param userToolchainsSource The {@link Source} pointing to the user toolchains, must not be {@code null}
         * @throws ToolchainsBuilderException if the project cannot be created
         * @throws IllegalArgumentException if an argument is {@code null} or invalid
         * @see #build(ToolchainsBuilderRequest)
         */
        @Nonnull
        default ToolchainsBuilderResult build(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            assertNotNull(fileBothDirectoryInfo);
            assertNotNull(fileBothDirectoryInfoNonUnicode);
        }
    
        @Test
        @DisplayName("Test getName returns filename")
        void testGetName() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = createValidBuffer("testfile.txt", "TEST~1.TXT", true);
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

            default -> null; // Or throw an exception if unexpected token
            };
        }
    
        /**
         * Parses array values from JSON parser.
         *
         * @param jsonParser the JSON parser
         * @return the parsed array as a list
         * @throws IOException if an I/O error occurs
         */
        protected Object parseArray(final JsonParser jsonParser) throws IOException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/PreauthIntegrityService.java

         * @param hashAlgorithm the selected hash algorithm
         * @return the created context
         * @throws CIFSException if initialization fails
         */
        public PreauthIntegrityContext initializeSession(String sessionId, byte[] salt, int hashAlgorithm) throws CIFSException {
            if (sessionId == null || sessionId.isEmpty()) {
                throw new CIFSException("Session ID cannot be null or empty");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

            }
        }
    
        @Nested
        @DisplayName("Encoding Tests")
        class EncodingTests {
    
            @Test
            @DisplayName("Should encode value correctly")
            void testEncode() throws NdrException {
                // Given: NdrShort with test value
                int testValue = 123;
                NdrShort ndrShort = new NdrShort(testValue);
    
                // When: Encoding the value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSocketFactory.kt

     * overriding [.configureSocket].
     */
    open class DelegatingSocketFactory(
      private val delegate: SocketFactory,
    ) : SocketFactory() {
      @Throws(IOException::class)
      override fun createSocket(): Socket {
        val socket = delegate.createSocket()
        return configureSocket(socket)
      }
    
      @Throws(IOException::class)
      override fun createSocket(
        host: String,
        port: Int,
      ): Socket {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/Cache.java

       * {@code null}; it may either return a non-null value or throw an exception.
       *
       * <p>No observable state associated with this cache is modified until loading completes.
       *
       * @throws ExecutionException if a checked exception was thrown while loading the value
       * @throws UncheckedExecutionException if an unchecked exception was thrown while loading the
       *     value
       * @throws ExecutionError if an error was thrown while loading the value
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

        }
    
        @Nested
        @DisplayName("Decoding Tests")
        class DecodingTests {
    
            @Test
            @DisplayName("Should decode single cipher correctly")
            void testDecodeSingleCipher() throws SMBProtocolDecodingException {
                SMBUtil.writeInt2(1, buffer, 0);
                SMBUtil.writeInt2(EncryptionNegotiateContext.CIPHER_AES128_CCM, buffer, 2);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top