Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,901 for throw (0.18 sec)

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

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

            this.bytesReceived += byteCount
          } catch (e: IOException) {
            throw complete(e)
          }
        }
    
        @Throws(IOException::class)
        override fun flush() {
          try {
            super.flush()
          } catch (e: IOException) {
            throw complete(e)
          }
        }
    
        @Throws(IOException::class)
        override fun close() {
          if (closed) return
          closed = true
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.2K bytes
    - Viewed (2)
  4. guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        }
    
        @Override
        public List<Runnable> shutdownNow() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public <T> Future<T> submit(Callable<T> task) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public Future<?> submit(Runnable task) {
          throw new UnsupportedOperationException();
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            if((read( tmp, 0, 4 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint32be( tmp, 0 );
        }
        public final long readLong() throws SmbException {
            if((read( tmp, 0, 8 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint64be( tmp, 0 );
        }
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/smb/SpnegoContext.java

            }
            catch ( CIFSException e ) {
                throw new CIFSException("Failed to verify mechanismListMIC", e);
            }
        }
    
    
        /**
         * @param mechs
         * @return
         * @throws CIFSException
         */
        private static byte[] encodeMechs ( ASN1ObjectIdentifier[] mechs ) throws CIFSException {
            try {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 14.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CloseablesTest.java

        // make sure that no exception is thrown if 'swallowException' is true
        // when the mock does throw an exception.
        setupCloseable(true);
        doClose(mockCloseable, true);
      }
    
      public void testClose_closeableWithThrownException() throws IOException {
        // make sure that the exception is thrown if 'swallowException' is false
        // when the mock does throw an exception.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

        private KerberosTicket ticket;
    
    
        public KerberosApRequest ( byte[] token, KerberosKey[] keys ) throws PACDecodingException {
            this(parseSequence(token), keys);
        }
    
        private static ASN1Sequence parseSequence(byte[] token) throws PACDecodingException {
            if ( token.length <= 0 )
                throw new PACDecodingException("Empty kerberos ApReq");
    
            ASN1Sequence sequence;
            try {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        } catch (Exception e) {
          if (!(e instanceof SomeCheckedException)) {
            throw e;
          }
        }
    
        // But the second time, AbstractIterator itself throws an ISE
        try {
          iter.hasNext();
          fail("No exception thrown");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testException() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top