Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 269 for IllegalStateException (0.07 sec)

  1. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         * @return true if closed, false otherwise
         */
        public boolean isClosed() {
            return closed;
        }
    
        private void checkNotClosed() {
            if (closed) {
                throw new IllegalStateException("Authenticator has been closed");
            }
        }
    
        /**
         * Return the domain and username in the format:
         * <code>domain\\username</code>. This is equivalent to <code>toString()</code>.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        if (success && !entry.readable) {
          for (i in 0 until valueCount) {
            if (!editor.written!![i]) {
              editor.abort()
              throw IllegalStateException("Newly created entry didn't create value for index $i")
            }
            if (!fileSystem.exists(entry.dirtyFiles[i])) {
              editor.abort()
              return
            }
          }
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/HashBiMap.java

           * seen value. And while we *could* do that, we aren't required to: Map.Entry explicitly says
           * that behavior is undefined when the backing map is modified through another API. (It even
           * permits us to throw IllegalStateException. Maybe we should have done that, but we probably
           * shouldn't change now for fear of breaking people.)
           *
           * If the entry is still in the map, then updateIndex ensured that `index` points to the right
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

          return HttpUrl(
            scheme = scheme ?: throw IllegalStateException("scheme == null"),
            username = encodedUsername.percentDecode(),
            password = encodedPassword.percentDecode(),
            host = host ?: throw IllegalStateException("host == null"),
            port = effectivePort(),
            pathSegments = encodedPathSegments.map { it.percentDecode() },
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/FluentIterable.java

       * iterator, as the {@code Iterator} contract states that a call to {@code * remove()} before a
       * call to {@code next()} will throw an {@link IllegalStateException}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#skip} (same).
       */
      public final FluentIterable<E> skip(int numberToSkip) {
        return from(Iterables.skip(getDelegate(), numberToSkip));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashMap.java

           * seen value. And while we *could* do that, we aren't required to: Map.Entry explicitly says
           * that behavior is undefined when the backing map is modified through another API. (It even
           * permits us to throw IllegalStateException. Maybe we should have done that, but we probably
           * shouldn't change now for fear of breaking people.)
           */
          return (lastKnownIndex == -1) ? unsafeNull() : value(lastKnownIndex);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FluentIterable.java

       * iterator, as the {@code Iterator} contract states that a call to {@code * remove()} before a
       * call to {@code next()} will throw an {@link IllegalStateException}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#skip} (same).
       */
      public final FluentIterable<E> skip(int numberToSkip) {
        return from(Iterables.skip(getDelegate(), numberToSkip));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        ImmutableMap.Builder<String, Integer> builder =
            new Builder<String, Integer>().orderEntriesByValue(Ordering.natural());
        assertThrows(
            IllegalStateException.class, () -> builder.orderEntriesByValue(Ordering.natural()));
      }
    
      @GwtIncompatible // we haven't implemented this
      public void testBuilder_orderEntriesByValue_keepingLast() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

              path = value
            } else if (protocol === Protocol.HTTP_2 || protocol === Protocol.H2_PRIOR_KNOWLEDGE) {
              httpHeaders.add(name, value)
            } else {
              throw IllegalStateException()
            }
            if (name == "expect" && value.equals("100-continue", ignoreCase = true)) {
              // Don't read the body unless we've invited the client to send it.
              readBody = false
            }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_2x.md

     *  Fix: `HttpUrl` now uses the canonical form for IPv6 addresses.
     *  Fix: Use `HttpUrl` internally.
     *  Fix: Recover from Android 4.2.2 EBADF crashes.
     *  Fix: Don't crash with an `IllegalStateException` if an HTTP/2 or SPDY
        write fails, leaving the connection in an inconsistent state.
     *  Fix: Make sure the default user agent is ASCII.
    
    
    ## Version 2.4.0
    
    _2015-05-22_
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
Back to top