Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 2,976 for throw (0.02 sec)

  1. src/main/java/jcifs/ntlmssp/Type1Message.java

        }
    
        private void parse(final byte[] material) throws IOException {
            int pos = 0;
            for (int i = 0; i < 8; i++) {
                if (material[i] != NTLMSSP_SIGNATURE[i]) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            pos += 8;
    
            if (readULong(material, pos) != NTLMSSP_TYPE1) {
                throw new IOException("Not a Type 1 message.");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/sql/StatementUtil.java

            try {
                statement.setQueryTimeout(queryTimeout);
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * Closes the {@link Statement}.
         * <p>
         * If {@link Statement#close()} throws an exception, an error message is logged. The exception is not rethrown.
         * </p>
         *
         * @param statement
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

            "Map.merge(absent, value, function) should return value",
            v3(),
            getMap()
                .merge(
                    k3(),
                    v3(),
                    (oldV, newV) -> {
                      throw new AssertionFailedError(
                          "Should not call merge function if key was absent");
                    }));
        expectAdded(e3());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMultimap.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean putAll(Multimap<? extends K, ? extends V> multimap) {
        throw new UnsupportedOperationException();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

        if (host in insecureHosts) return listOf()
        try {
          val method =
            checkServerTrustedMethod
              ?: throw CertificateException("Failed to call checkServerTrusted")
          return method.invoke(delegate, chain, authType, host) as List<Certificate>
        } catch (e: InvocationTargetException) {
          throw e.targetException
        }
      }
    
      override fun getAcceptedIssuers(): Array<X509Certificate> = delegate.acceptedIssuers
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/ModelUtils.java

                PluginContainer childContainer, PluginContainer parentContainer, boolean handleAsInheritance) {
            throw new UnsupportedOperationException();
        }
    
        public static List<Plugin> orderAfterMerge(
                List<Plugin> merged, List<Plugin> highPrioritySource, List<Plugin> lowPrioritySource) {
            throw new UnsupportedOperationException();
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/net/URLUtil.java

            try {
                final URLConnection connection = url.openConnection();
                connection.setUseCaches(false);
                return connection.getInputStream();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Returns a {@link URLConnection} object that represents a connection to the remote object referred to by the URL.
         *
         * @param url
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            void testSendFragment() throws IOException {
                // When: Calling send fragment (no-op implementation)
                // Then: Should not throw exception
                assertDoesNotThrow(() -> handle.doSendFragment(new byte[10], 0, 10));
            }
    
            @Test
            @DisplayName("Should handle encode message operation")
            void testEncodeMessage() throws NdrException, DcerpcException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                        return null;
                    }
                    throw e;
                }
                if (log.isTraceEnabled()) {
                    log.trace("Returned from NtTransNotifyChange " + resp.getErrorCode());
                }
    
                if (!resp.isReceived()) {
                    throw new CIFSException("Did not receive response");
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        if (isDone()) {
          throw new TimeoutException(message + " but future completed as timeout expired");
        }
        throw new TimeoutException(message + " for " + futureToString);
      }
    
      @ParametricNullness
      @SuppressWarnings("nullness") // TODO(b/147136275): Remove once our checker understands & and |.
      final V blockingGet() throws InterruptedException, ExecutionException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
Back to top