Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 2,240 for throwIf (0.04 seconds)

  1. android/guava/src/com/google/common/io/BaseEncoding.java

          @Override
          public void write(int c) throws IOException {
            separatingAppendable.append((char) c);
          }
    
          @Override
          public void write(char[] chars, int off, int len) throws IOException {
            throw new UnsupportedOperationException();
          }
    
          @Override
          public void flush() throws IOException {
            delegate.flush();
          }
    
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 41.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

         * If an error occurs during file deletion, it is logged but not thrown to avoid
         * masking exceptions from the main operation.
         *
         * @throws IOException if an I/O error occurs during stream closure
         */
        @Override
        public void close() throws IOException {
            try {
                super.close();
            } finally {
                if (!isInMemory() && !done) {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      public final @Nullable V remove(@Nullable Object o) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 41.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testCopyTo_appendable() throws IOException {
        StringBuilder builder = new StringBuilder();
    
        assertEquals(STRING.length(), source.copyTo(builder));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        assertThat(builder.toString()).isEqualTo(STRING);
      }
    
      public void testCopyTo_charSink() throws IOException {
        TestCharSink sink = new TestCharSink();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      }
    
      public void testToString() throws Exception {
        Service a = new NoOpService();
        Service b = new FailStartService();
        ServiceManager manager = new ServiceManager(asList(a, b));
        String toString = manager.toString();
        assertThat(toString).contains("NoOpService");
        assertThat(toString).contains("FailStartService");
      }
    
      public void testTimeouts() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         * @param argValue
         *            The value of the argument.
         * @throws NullArgumentException
         *             If the argument is <code>null</code>.
         */
        public static void assertArgumentNotNull(final String argName, final Object argValue) {
            if (argValue == null) {
                throw new NullArgumentException(argName);
            }
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

        @CanIgnoreReturnValue
        @Override
        @ParametricNullness
        public final V get() throws InterruptedException, ExecutionException {
          return super.get();
        }
    
        @CanIgnoreReturnValue
        @Override
        @ParametricNullness
        public final V get(long timeout, TimeUnit unit)
            throws InterruptedException, ExecutionException, TimeoutException {
          return super.get(timeout, unit);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/FluentIterable.java

       * that this throws different exception types, and throws an exception if {@code null} would be
       * returned).
       *
       * @param position position of the element to return
       * @return the element at the specified position in this fluent iterable
       * @throws IndexOutOfBoundsException if {@code position} is negative or greater than or equal to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/FluentIterable.java

       * that this throws different exception types, and throws an exception if {@code null} would be
       * returned).
       *
       * @param position position of the element to return
       * @return the element at the specified position in this fluent iterable
       * @throws IndexOutOfBoundsException if {@code position} is negative or greater than or equal to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableRangeSet.java

      @DoNotCall("Always throws UnsupportedOperationException")
      public void addAll(RangeSet<C> other) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the {@code RangeSet} unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.4K bytes
    - Click Count (0)
Back to Top