Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 1,616 for threw (0.13 sec)

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

        @Override
        public boolean hasNext() {
          if (modCount != expectedModCount) {
            throw new ConcurrentModificationException();
          }
          return next != null && remaining > 0;
        }
    
        @Override
        public T next() {
          if (!hasNext()) {
            throw new NoSuchElementException();
          }
    
          // requireNonNull is safe because of the hasNext check.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                return new Metadata(new MetadataStaxReader().read(in, false));
            } catch (FileNotFoundException e) {
                throw new RepositoryMetadataReadException("Cannot read metadata from '" + mappingFile + "'", e);
            } catch (IOException | XMLStreamException e) {
                throw new RepositoryMetadataReadException(
                        "Cannot read metadata from '" + mappingFile + "': " + e.getMessage(), e);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Encdec.java

                    if ((ch & 0xC0) != 0x80 ) {
                        throw new IOException( "Invalid UTF-8 sequence" );
                    } else {
                        uni[ui] |= (ch & 0x3F) << 6;
                        ch = src[si++] & 0xFF;
                        uni[ui] |=  ch & 0x3F;
                        if ((ch & 0xC0) != 0x80 || uni[ui] < 0x800) {
                            throw new IOException( "Invalid UTF-8 sequence" );
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          override fun fromDer(reader: DerReader): Pair<DerAdapter<*>, Any?> {
            val peekedHeader =
              reader.peekHeader()
                ?: throw ProtocolException("expected a value at $reader")
    
            val choice =
              choices.firstOrNull { it.matches(peekedHeader) }
                ?: throw ProtocolException(
                  "expected a matching choice but was $peekedHeader at $reader",
                )
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        resetMap(createArrayWithNullValue());
      }
    
      /**
       * Equivalent to {@link #expectMissingKeys(Object[]) expectMissingKeys} {@code (null)} except that
       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            if (StringUtil.isBlank(crawlingInfoId)) {
                throw new CrawlingAccessException("sessionId is null.");
            }
    
            final CrawlerClientFactory crawlerClientFactory = crawlingConfig.initializeClientFactory(ComponentUtil::getCrawlerClientFactory);
            final CrawlerClient client = crawlerClientFactory.getClient(url);
            if (client == null) {
                throw new CrawlingAccessException("CrawlerClient is null for " + url);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        private boolean startUpCalled = false;
    
        @Override
        protected void startUp() {
          startUpCalled = true;
          throw new UnsupportedOperationException("kaboom!");
        }
    
        @Override
        protected void run() {
          throw new AssertionError("run() should not be called");
        }
    
        @Override
        protected Executor executor() {
          return exceptionCatchingExecutor;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

            try {
                final ActionResponse actionResponse = ssoManager.getResponse(SsoResponseType.METADATA);
                if (actionResponse == null) {
                    throw responseManager.new400("Unsupported request type.");
                }
                return actionResponse;
            } catch (final SsoMessageException e) {
                if (e.getCause() == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/WebPlatformUrlTestData.kt

          "u" -> username = value
          "pass" -> password = value
          "h" -> host = value
          "port" -> port = value
          "p" -> path = value
          "q" -> query = value
          "f" -> fragment = value
          else -> throw IllegalArgumentException("unexpected attribute: $value")
        }
      }
    
      override fun toString(): String = format("Parsing: <%s> against <%s>", input!!, base!!)
    
      companion object {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java

          // permitted not to throw because it would be a no-op
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEY_QUERIES)
      public void testReplace_absentNullKeyUnsupported() {
        try {
          getMap().replace(null, v3());
        } catch (NullPointerException tolerated) {
          // permitted not to throw because it would be a no-op
        }
        expectUnchanged();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top