Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 211 for IllegalStateException (0.06 sec)

  1. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

      public void testSampleCovariance() {
        assertThrows(IllegalStateException.class, () -> emptyAccumulator.sampleCovariance());
        assertThrows(
            IllegalStateException.class,
            () -> emptyAccumulatorByAddAllEmptyPairedStats.sampleCovariance());
        assertThrows(IllegalStateException.class, () -> oneValueAccumulator.sampleCovariance());
        assertThrows(
            IllegalStateException.class,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            // Close the authenticator
            auth.close();
    
            // All these operations should throw IllegalStateException
            assertThrows(IllegalStateException.class, () -> auth.getPassword());
            assertThrows(IllegalStateException.class, () -> auth.getPasswordAsCharArray());
            assertThrows(IllegalStateException.class, () -> {
                // This would normally be called during authentication
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractService.java

            // Handle this specially so that we can include the failureCause, if there is one.
            throw new IllegalStateException(
                "Expected the service " + this + " to be " + expected + ", but the service has FAILED",
                failureCause());
          }
          throw new IllegalStateException(
              "Expected the service " + this + " to be " + expected + ", but was " + actual);
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThrows(IllegalStateException.class, () -> builder.maximumWeight(16));
        assertThrows(IllegalStateException.class, () -> builder.maximumSize(16));
      }
    
      @GwtIncompatible // maximumWeight
      public void testMaximumWeight_withoutWeigher() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().maximumWeight(1);
        assertThrows(IllegalStateException.class, () -> builder.build(identityLoader()));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResultTest.java

            result.addFailure(new Exception("Exception"));
            result.addFailure(new RuntimeException("RuntimeException"));
            result.addFailure(new IllegalStateException("IllegalStateException"));
            result.addFailure(new NullPointerException("NullPointerException"));
    
            assertEquals(4, result.getFailures().size());
            assertTrue(result.getFailures().get(0) instanceof Exception);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

      public void testSampleCovariance() {
        assertThrows(IllegalStateException.class, () -> emptyAccumulator.sampleCovariance());
        assertThrows(
            IllegalStateException.class,
            () -> emptyAccumulatorByAddAllEmptyPairedStats.sampleCovariance());
        assertThrows(IllegalStateException.class, () -> oneValueAccumulator.sampleCovariance());
        assertThrows(
            IllegalStateException.class,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/ClIllegalStateException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    /**
     * Exception that wraps {@link IllegalStateException}.
     *
     * @author wyukawa
     */
    public class ClIllegalStateException extends IllegalStateException {
    
        private static final long serialVersionUID = -2154525994315946504L;
    
        /**
         * Creates a {@link ClIllegalStateException}.
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

       * when hasNext() is false, so that next() throws a NoSuchElementException, then subsequent calls
       * to remove() will incorrectly throw an IllegalStateException, instead of removing the last
       * element returned.
       *
       * <p>See <a href="https://bugs.openjdk.org/browse/JDK-6529795">JDK-6529795</a>
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt

     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import android.content.Context
    import android.os.Build
    import java.lang.IllegalStateException
    import okhttp3.internal.platform.android.AndroidLog
    
    actual object PlatformRegistry {
      actual fun findPlatform(): Platform {
        AndroidLog.enable()
    
        val androidPlatform =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

      public void testSampleVariance() {
        assertThrows(IllegalStateException.class, () -> emptyAccumulator.sampleVariance());
        assertThrows(
            IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyIterable.sampleVariance());
        assertThrows(
            IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyStats.sampleVariance());
        assertThrows(IllegalStateException.class, () -> oneValueAccumulator.sampleVariance());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 36.9K bytes
    - Viewed (0)
Back to top