Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for throw (1.73 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *
     * @throws IOException thrown by <tt>SmbFileInputStream</tt> constructor
     */
        public InputStream getInputStream() throws IOException {
            return new SmbFileInputStream( this );
        }
    
    /**
     * This URLConnection method just returns a new <tt>SmbFileOutputStream</tt> created with this file.
     *
     * @throws IOException thrown by <tt>SmbFileOutputStream</tt> constructor
     */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      public void testCatchingAsync_fallbackGeneratesError() throws Exception {
        final Error error = new Error("deliberate");
        AsyncFunction<Throwable, Integer> fallback =
            new AsyncFunction<Throwable, Integer>() {
              @Override
              public ListenableFuture<Integer> apply(Throwable t) throws Exception {
                throw error;
              }
            };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      public void testCatchingAsync_fallbackGeneratesError() throws Exception {
        final Error error = new Error("deliberate");
        AsyncFunction<Throwable, Integer> fallback =
            new AsyncFunction<Throwable, Integer>() {
              @Override
              public ListenableFuture<Integer> apply(Throwable t) throws Exception {
                throw error;
              }
            };
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

          success = true;
          throw e;
        } catch (InterruptedException e) {
          Thread.currentThread().interrupt();
          throw new ExecutionException(e);
        } catch (RuntimeException e) {
          throw new UncheckedExecutionException(e);
        } catch (Exception e) {
          throw new ExecutionException(e);
        } catch (Error e) {
          throw new ExecutionError(e);
        } finally {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

          success = true;
          throw e;
        } catch (InterruptedException e) {
          Thread.currentThread().interrupt();
          throw new ExecutionException(e);
        } catch (RuntimeException e) {
          throw new UncheckedExecutionException(e);
        } catch (Exception e) {
          throw new ExecutionException(e);
        } catch (Error e) {
          throw new ExecutionError(e);
        } finally {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CallTest.kt

              call: Call,
              e: IOException,
            ) {
              throw AssertionError()
            }
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              try {
                responseRef.put(response)
              } catch (e: InterruptedException) {
                throw AssertionError()
              }
            }
          },
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * {@link Future#get()} would.
         *
         * <p>Because the asynchronous operation has already completed, this method is synchronous and
         * returns immediately.
         *
         * @throws CancellationException if the computation was cancelled
         * @throws ExecutionException if the computation threw an exception
         */
        @ParametricNullness
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

            return set;
          }
    
          @Override
          public boolean add(@ParametricNullness E element) {
            throw new UnsupportedOperationException();
          }
    
          @Override
          public boolean addAll(Collection<? extends E> es) {
            throw new UnsupportedOperationException();
          }
        };
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            try {
              map.get(one, loader);
            } catch (ExecutionException e) {
              throw new RuntimeException(e);
            }
            doneSignal.countDown();
          }
        }.start();
    
        try {
          computingSignal.await();
        } catch (InterruptedException e) {
          throw new RuntimeException(e);
        }
    
        new Thread() {
          @Override
          public void run() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            try {
              map.get(one, loader);
            } catch (ExecutionException e) {
              throw new RuntimeException(e);
            }
            doneSignal.countDown();
          }
        }.start();
    
        try {
          computingSignal.await();
        } catch (InterruptedException e) {
          throw new RuntimeException(e);
        }
    
        new Thread() {
          @Override
          public void run() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
Back to top