Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            // Setup - create a chain of exceptions
            final IllegalArgumentException rootCause = new IllegalArgumentException("Invalid character in query");
            final IllegalStateException middleCause = new IllegalStateException("Query parser state error", rootCause);
            final String message = "Query processing failed";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        ThrowOnStartUpService service = new ThrowOnStartUpService();
        assertFalse(service.startUpCalled);
    
        service.startAsync();
        IllegalStateException expected =
            assertThrows(IllegalStateException.class, () -> service.awaitRunning());
        assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("kaboom!");
        executionThread.join();
    
        assertTrue(service.startUpCalled);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

      fun cannotAccessAddressBeforeStart() {
        val other = MockWebServer()
        assertFailsWith<IllegalStateException> {
          other.socketAddress
        }
        assertFailsWith<IllegalStateException> {
          other.hostName
        }
        assertFailsWith<IllegalStateException> {
          other.port
        }
        assertFailsWith<IllegalStateException> {
          other.proxyAddress
        }
        other.use {
          other.start()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                Exception rootCause = new IllegalStateException("Outer exception", middle);
                TransportException exception = new TransportException("Transport failed", rootCause);
    
                String result = exception.toString();
    
                assertNotNull(result);
                assertTrue(result.contains("Transport failed"));
                assertTrue(result.contains("IllegalStateException"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

      public void testCheckState_simple_failure() {
        assertThrows(IllegalStateException.class, () -> checkState(false));
      }
    
      public void testCheckState_simpleMessage_success() {
        checkState(true, IGNORE_ME);
      }
    
      public void testCheckState_simpleMessage_failure() {
        IllegalStateException expected =
            assertThrows(IllegalStateException.class, () -> checkState(false, new Message()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/PreconditionsTest.java

      public void testCheckState_simple_failure() {
        assertThrows(IllegalStateException.class, () -> checkState(false));
      }
    
      public void testCheckState_simpleMessage_success() {
        checkState(true, IGNORE_ME);
      }
    
      public void testCheckState_simpleMessage_failure() {
        IllegalStateException expected =
            assertThrows(IllegalStateException.class, () -> checkState(false, new Message()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Cut.java

        }
    
        @Override
        Comparable<?> endpoint() {
          throw new IllegalStateException("range unbounded on this side");
        }
    
        @Override
        boolean isLessThan(Comparable<?> value) {
          return true;
        }
    
        @Override
        BoundType typeAsLowerBound() {
          throw new IllegalStateException();
        }
    
        @Override
        BoundType typeAsUpperBound() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top