Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 7,652 for throws (0.1 sec)

  1. android/guava-tests/test/com/google/common/io/FlushablesTest.java

      public void testFlush_flushableWithEatenException() throws IOException {
        // make sure that no exception is thrown if 'swallowException' is true
        // when the mock does throw an exception on flush.
        setupFlushable(true);
        doFlush(mockFlushable, true, false);
      }
    
      public void testFlush_flushableWithThrownException() throws IOException {
        // make sure that the exception is thrown if 'swallowException' is false
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ImplementationSnapshotSerializer.java

        }
    
        @Override
        public ImplementationSnapshot read(Decoder decoder) throws Exception {
            Impl serializer = Impl.values()[decoder.readSmallInt()];
            return serializer.read(decoder);
        }
    
        @Override
        public void write(Encoder encoder, ImplementationSnapshot implementationSnapshot) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:33:49 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/LittleEndianDataInputStream.java

      public void readFully(byte[] b, int off, int len) throws IOException {
        ByteStreams.readFully(this, b, off, len);
      }
    
      @Override
      public int skipBytes(int n) throws IOException {
        return (int) in.skip(n);
      }
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      public int readUnsignedByte() throws IOException {
        int b1 = in.read();
        if (0 > b1) {
          throw new EOFException();
        }
    
        return b1;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

            return input;
          } catch (InterruptedException e) {
            throw new AssertionError();
          }
        }
    
        @Override
        public void sleepThenThrowException() throws SampleException {
          try {
            MILLISECONDS.sleep(delayMillis);
          } catch (InterruptedException e) {
          }
          throw new SampleException();
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      }
    
      public void testFrom_failedInput() throws Exception {
        assertFinallyFailsWithException(failedClosingFuture());
      }
    
      public void testFrom_cancelledInput() throws Exception {
        assertBecomesCanceled(ClosingFuture.from(immediateCancelledFuture()));
      }
    
      public void testEventuallyClosing() throws Exception {
        ClosingFuture<String> closingFuture =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacDataInputStream.java

        }
    
    
        public int available () throws IOException {
            return this.dis.available();
        }
    
    
        public void readFully ( byte[] b ) throws IOException {
            this.dis.readFully(b);
        }
    
    
        public void readFully ( byte[] b, int off, int len ) throws IOException {
            this.dis.readFully(b, off, len);
        }
    
    
        public char readChar () throws IOException {
            align(2);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jul 21 21:19:58 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/transport/Transport.java

        protected abstract void makeKey( Request request ) throws IOException;
        protected abstract Request peekKey() throws IOException;
        protected abstract void doSend( Request request ) throws IOException;
        protected abstract void doRecv( Response response ) throws IOException;
        protected abstract void doSkip() throws IOException;
    
        public synchronized void sendrecv( Request request,
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheLoader.java

       * @throws Exception if unable to load the result
       * @throws InterruptedException if this method is interrupted. {@code InterruptedException} is
       *     treated like any other {@code Exception} in all respects except that, when it is caught,
       *     the thread's interrupt status is set
       */
      public abstract V load(K key) throws Exception;
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Transport.java

    
        protected abstract long makeKey ( Request request ) throws IOException;
    
    
        protected abstract Long peekKey () throws IOException;
    
    
        protected abstract void doSend ( Request request ) throws IOException;
    
    
        protected abstract void doRecv ( Response response ) throws IOException;
    
    
        protected abstract void doSkip ( Long key ) throws IOException;
    
    
        /**
         * 
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
Back to top