Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,812 for rethrow (0.04 sec)

  1. guava/src/com/google/common/collect/CollectPreconditions.java

        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
          throw new NullPointerException("null value in entry: " + key + "=null");
        }
      }
    
      @CanIgnoreReturnValue
      static int checkNonnegative(int value, String name) {
        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        }
    
        // List available IP addresses for the current proxy. This may block in Dns.lookup().
        if (!newRouteSelector.hasNext()) throw IOException("exhausted all routes")
        val newRouteSelection = newRouteSelector.next()
        routeSelection = newRouteSelection
    
        if (isCanceled()) throw IOException("Canceled")
    
        return planConnectToRoute(newRouteSelection.next(), newRouteSelection.routes)
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

                SerializableTester.reserializeAndAssert(instance);
              } catch (Exception e) { // sneaky checked exception
                throw new AssertionError(
                    "Serialization failed on return value of " + factory, e.getCause());
              } catch (AssertionFailedError e) {
                throw new AssertionError(
                    "Return value of " + factory + " reserialized to an unequal value", e);
              }
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/UniAddress.java

                    }
                }
            } catch (final InterruptedException ie) {
                throw new UnknownHostException(name);
            }
            if (q1x.ans != null) {
                return q1x.ans;
            }
            if (q20.ans != null) {
                return q20.ans;
            }
            throw q1x.uhe;
        }
    
        /**
         * Determines the address of a host given it's host name. The name can be a
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                // original recommended version
                version = restriction.recommendedVersion;
            }
            /* TODO should throw this immediately, but need artifact
                    else
                    {
                        throw new OverConstrainedVersionException( "Restricting incompatible version ranges" );
                    }
            */
    
            return new VersionRange(version, restrictions);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

      @Override
      public C first() {
        throw new NoSuchElementException();
      }
    
      @Override
      public C last() {
        throw new NoSuchElementException();
      }
    
      @Override
      public int size() {
        return 0;
      }
    
      @Override
      public ContiguousSet<C> intersection(ContiguousSet<C> other) {
        return this;
      }
    
      @Override
      public Range<C> range() {
        throw new NoSuchElementException();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/PythonJob.java

                    throw new JobProcessingException(out.toString());
                }
                ComponentUtil.getPopularWordHelper().clearCache();
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("Python Process terminated.", e);
            } finally {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionAggregation.java

                throw new InvalidQueryRegisteredException(msg);
            }
        }
    
        protected void checkEsInvalidAggregationCollection(String name, Collection<?> values) {
            if (values == null || values.isEmpty()) {
                String msg = "Cannot register null or empty query collection: name=" + name + " values=" + values;
                throw new InvalidQueryRegisteredException(msg);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/CredentialsInternalTest.java

                // Validate required argument and interact with the provided CIFSContext
                if (tc == null) {
                    throw new NullPointerException("tc");
                }
                // Exercise interaction with dependency for verification purposes
                // These methods do not throw and allow interaction checks.
                tc.getConfig();
                tc.getCredentials();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top