Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,354 for rethrow (0.2 sec)

  1. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

      public boolean addAll(Collection<? extends E> elementsToAdd) {
        throw up();
      }
    
      @Override
      public boolean removeAll(Collection<?> elementsToRemove) {
        throw up();
      }
    
      @Override
      public boolean retainAll(Collection<?> elementsToRetain) {
        throw up();
      }
    
      @Override
      public void clear() {
        throw up();
      }
    
      private static UnsupportedOperationException up() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. 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() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/crypto/CachedCipher.java

                } catch (final InvalidKeyException e) {
                    throw new InvalidKeyRuntimeException(e);
                } catch (final NoSuchAlgorithmException e) {
                    throw new NoSuchAlgorithmRuntimeException(e);
                } catch (final NoSuchPaddingException e) {
                    throw new NoSuchPaddingRuntimeException(e);
                }
            }
            return cipher;
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Preconditions.java

          @CheckForNull Object p4) {
        if (reference == null) {
          throw new NullPointerException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
        return reference;
      }
    
      /*
       * All recent hotspots (as of 2009) *really* like to have the natural code
       *
       * if (guardExpression) {
       *    throw new BadException(messageExpression);
       * }
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

          iter.peek();
          fail("peek() should throw NoSuchElementException at end");
        } catch (NoSuchElementException expected) {
        }
    
        try {
          iter.peek();
          fail("peek() should continue to throw NoSuchElementException at end");
        } catch (NoSuchElementException expected) {
        }
    
        try {
          iter.next();
          fail("next() should throw NoSuchElementException as usual");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/RecordingExecutor.kt

            return
          }
        }
        throw AssertionError("No such job: $url")
      }
    
      override fun shutdown() {
        shutdown = true
      }
    
      override fun shutdownNow(): List<Runnable> {
        throw UnsupportedOperationException()
      }
    
      override fun isShutdown(): Boolean {
        return shutdown
      }
    
      override fun isTerminated(): Boolean {
        throw UnsupportedOperationException()
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteStreams.java

          } catch (EOFException e) {
            throw new IllegalStateException(e);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public int readUnsignedByte() {
          try {
            return input.readUnsignedByte();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

                            throw new UnsupportedOperationException();
                          }
    
                          @Override
                          public Iterator<String> iterator() {
                            throw new UnsupportedOperationException();
                          }
    
                          @Override
                          public boolean removeAll(Collection<?> collection) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/misc/AssertionUtil.java

        public static void assertArgumentArrayIndex(final String argName, final int argValue, final int arraySize) {
            if (argValue < 0) {
                throw new ClIllegalArgumentException(argName, "ECL0014", asArray(argName));
            }
            if (argValue >= arraySize) {
                throw new ClIllegalArgumentException(argName, "ECL0015", asArray(argName, arraySize));
            }
        }
    
        /**
         * 引数が不正でないことを表明します。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the {@code RangeMap} unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void remove(Range<K> range) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 14.5K bytes
    - Viewed (0)
Back to top