Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 66 for throw (0.08 seconds)

  1. guava/src/com/google/common/base/Preconditions.java

     *
     * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception
     * of a specified type, which helps the method in which the exception was thrown communicate that
     * its caller has made a mistake. This allows constructs such as
     *
     * {@snippet :
     * public static double sqrt(double value) {
     *   if (value < 0) {
     *     throw new IllegalArgumentException("input is negative: " + value);
     *   }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

         * @param response
         * @param params
         * @throws IOException
         * @throws SmbException
         * @throws TransportException
         * @throws EOFException
         */
        private <T extends CommonServerMessageBlock & Response> T sendComTransaction(final CommonServerMessageBlockRequest request,
                final T response, final Set<RequestParam> params) throws IOException, SmbException, TransportException, EOFException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Preconditions.java

     *
     * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception
     * of a specified type, which helps the method in which the exception was thrown communicate that
     * its caller has made a mistake. This allows constructs such as
     *
     * {@snippet :
     * public static double sqrt(double value) {
     *   if (value < 0) {
     *     throw new IllegalArgumentException("input is negative: " + value);
     *   }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

                if (e.getException() instanceof SmbException) {
                    throw (SmbException) e.getException();
                }
                throw new SmbException("Unexpected exception during context initialization", e);
            }
        }
    
        /**
         * @param request
         * @param response
         * @param params
         * @return
         * @throws CIFSException
         */
        @SuppressWarnings("unchecked")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                throw new UnsupportedOperationException("getSort() is not supported in this implementation");
            }
    
            @Override
            public int getStartPosition() {
                throw new UnsupportedOperationException("getStartPosition() is not supported in this implementation");
            }
    
            @Override
            public int getOffset() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  6. guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final @Nullable Entry<K, V> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      }
    
      public void testEventuallyClosing_throws() throws Exception {
        assertFinallyFailsWithException(
            ClosingFuture.eventuallyClosing(
                executor.submit(
                    () -> {
                      throw exception;
                    }),
                closingExecutor));
      }
    
      public void testSubmit() throws Exception {
        ClosingFuture<String> closingFuture =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final @Nullable Entry<K, V> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 54.7K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

             *
             * @param step The build step to execute
             * @throws IOException If there's an IO error during execution
             * @throws LifecycleExecutionException If there's a lifecycle execution error
             */
            private void executeStep(BuildStep step) throws IOException, LifecycleExecutionException {
                Clock clock = getClock(step.project);
                switch (step.name) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      }
    
      public void testEventuallyClosing_throws() throws Exception {
        assertFinallyFailsWithException(
            ClosingFuture.eventuallyClosing(
                executor.submit(
                    () -> {
                      throw exception;
                    }),
                closingExecutor));
      }
    
      public void testSubmit() throws Exception {
        ClosingFuture<String> closingFuture =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
Back to Top