Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 2,652 for throw (0.05 sec)

  1. guava/src/com/google/common/graph/AbstractNetwork.java

        switch (edgesConnecting.size()) {
          case 0:
            return null;
          case 1:
            return edgesConnecting.iterator().next();
          default:
            throw new IllegalArgumentException(String.format(MULTIPLE_EDGES_CONNECTING, nodeU, nodeV));
        }
      }
    
      @Override
      @CheckForNull
      public E edgeConnectingOrNull(EndpointPair<N> endpoints) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                        + ((ByteArrayOutputStream) out2).toString(CoreLibConstants.UTF_8);
            } catch (final IOException e) {
                throw new SuggesterException(e);
            }
        }
    
        private static OutputStream getXContentOutputStream(final Map<String, Object> firstLineMap) throws IOException {
            try (XContentBuilder builder = JsonXContent.contentBuilder().map(firstLineMap)) {
                builder.flush();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

      }
    
      private void assertSetCountNegativeOldCount() {
        try {
          getMultiset().setCount(e3(), -1, 1);
          fail("calling setCount() with a negative oldCount should throw IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      // Negative oldCount.
    
      @CollectionFeature.Require(SUPPORTS_ADD)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

            }
    
            final String validationError = getValidationError(badWord);
            if (validationError != null) {
                throw new IllegalArgumentException("Validation error. " + validationError);
            }
            arraySettings.add(BAD_WORD_SETTINGD_KEY, badWord);
        }
    
        public void delete(final String badWord) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            final String[] froms = time.split(":");
            if (froms.length != 2) {
                throw new FessSystemException("Invalid format: " + time);
            }
            final int[] values = new int[2];
            values[0] = Integer.parseInt(froms[0]);
            if (values[0] < 0 || values[0] > 23) {
                throw new FessSystemException("Invalid format: " + time);
            }
            values[1] = Integer.parseInt(froms[1]);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/ToDoubleRounder.java

                case HALF_UP:
                  return (sign(x) >= 0) ? roundCeilingAsDouble : roundFloorAsDouble;
                default:
                  throw new AssertionError("impossible");
              }
            }
        }
        throw new AssertionError("impossible");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      barrier.await();
                    } catch (Exception e) {
                      throw new AssertionError(e);
                    }
    
                    dispatcher.dispatch(2, integerSubscribers.iterator());
                    latch.countDown();
                  }
                })
            .start();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

                    server.start();
                } catch (final Exception e) {
                    throw new CrawlerSystemException(e);
                }
            }
    
            public void stop() {
                try {
                    server.stop();
                    server.join();
                } catch (final Exception e) {
                    throw new CrawlerSystemException(e);
                }
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

        override fun getName(): String = "IntegrationTestFixtures"
    
        override fun getPriority(): Int = 1
    
        override fun setPriority(priority: Int) {
            throw UnsupportedOperationException()
        }
    
        override fun setName(name: String?) {
            throw UnsupportedOperationException()
        }
    
        override fun getDescription(): String = "Reports incorrect usages of integration test fixtures"
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  10. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

      val name: String,
      val suites: List<SuiteId>,
    ) {
      fun fromJavaName(javaName: String): SuiteId {
        return suites.firstOrNull {
          it.name == javaName || it.name == "TLS_${javaName.drop(4)}"
        } ?: throw IllegalArgumentException("No such suite: $javaName")
      }
    }
    
    suspend fun fetchIanaSuites(okHttpClient: OkHttpClient): IanaSuites {
      val url = "https://www.iana.org/assignments/tls-parameters/tls-parameters-4.csv"
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top