Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,616 for threw (0.02 sec)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

            // You can't say "assuming String is Integer".
            // And we don't support "assuming String is T"; user has to say "assuming T is String".
            throw new IllegalArgumentException("No type mapping from " + fromClass + " to " + to);
          }
        }.visit(from);
      }
    
      /**
       * Resolves all type variables in {@code type} and all downstream types and returns a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/MoreExecutors.java

                ee = eex;
              } catch (InterruptedException iex) {
                throw iex;
              } catch (Exception rex) { // sneaky checked exception
                ee = new ExecutionException(rex);
              }
            }
          }
    
          if (ee == null) {
            ee = new ExecutionException(null);
          }
          throw ee;
        } finally {
          for (Future<T> f : futures) {
            f.cancel(true);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                }
            } catch (ConnectionException e) {
                throw new TransferFailedException("Connection failed: " + e.getMessage(), e);
            } catch (AuthenticationException e) {
                throw new TransferFailedException("Authentication failed: " + e.getMessage(), e);
            } catch (AuthorizationException e) {
                throw new TransferFailedException("Authorization failed: " + e.getMessage(), e);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

            }
            else if ( usage < 0 ) {
                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
    
        /**
         * @return the sessionKey
         * @throws CIFSException
         */
        @Override
        public byte[] getSessionKey () throws CIFSException {
            if ( this.sessionKey == null ) {
                throw new CIFSException("No session key available");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/ASN1Util.java

            {
                int b = s.read();
                if (b < 31)
                {
                    if (b < 0)
                    {
                        throw new EOFException("EOF found inside tag value.");
                    }
                    throw new IOException("corrupted stream - high tag number < 31 found");
                }
    
                tagNo = b & 0x7f;
    
                // X.690-0207 8.1.2.4.2
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        val length =
          when {
            length0 == 0b1000_0000 -> {
              throw ProtocolException("indefinite length not permitted for DER")
            }
            (length0 and 0b1000_0000) == 0b1000_0000 -> {
              // Length specified over multiple bytes.
              val lengthBytes = length0 and 0b0111_1111
              if (lengthBytes > 8) {
                throw ProtocolException("length encoded with more than 8 bytes is not supported")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Verify.java

     *       assertions are for. Note that assertions are not enabled by default; they are essentially
     *       considered "compiled comments."
     *   <li>An explicit {@code if/throw} (as illustrated below) is always acceptable; we still
     *       recommend using our {@link VerifyException} exception type. Throwing a plain {@link
     *       RuntimeException} is frowned upon.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Range.java

     * <i>endpoint</i> value, and the range is considered to be either <i>open</i> (does not include the
     * endpoint) or <i>closed</i> (includes the endpoint) on that side. With three possibilities on each
     * side, this yields nine basic types of ranges, enumerated below. (Notation: a square bracket
     * ({@code [ ]}) indicates that the range is closed on that side; a parenthesis ({@code ( )}) means
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Ordering.java

     * of {@code Comparator} for pre-Java-8 users, in the same sense that {@link FluentIterable} is an
     * enriched {@link Iterable} for pre-Java-8 users.
     *
     * <h3>Three types of methods</h3>
     *
     * Like other fluent types, there are three types of methods present: methods for <i>acquiring</i>,
     * <i>chaining</i>, and <i>using</i>.
     *
     * <h4>Acquiring</h4>
     *
     * <p>The common ways to get an instance of {@code Ordering} are:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        public T next() {
          try {
            return iterator.next();
          } catch (NoSuchElementException e) {
            nextThrewException = true;
            throw e;
          }
        }
    
        @Override
        public void remove() {
          if (nextThrewException) {
            throw new IllegalStateException();
          }
          iterator.remove();
        }
      }
    
      public void testCanCatchSunJavaBug6529795InTargetIterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top