Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2221 - 2230 of 2,367 for Exceptions (1.14 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * Call the {@code setCount()} method under test, but do not check its return value. Callers
       * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
       * {@code setCount()} to throw an exception, as checking the return value could produce an
       * incorrect error message like "setCount() should return the original count" instead of the
       * message passed to a later invocation of {@code fail()}, like "setCount should throw
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/GeneralRange.java

        this.lowerEndpoint = lowerEndpoint;
        this.lowerBoundType = checkNotNull(lowerBoundType);
        this.upperEndpoint = upperEndpoint;
        this.upperBoundType = checkNotNull(upperBoundType);
    
        // Trigger any exception that the comparator would throw for the endpoints.
        /*
         * uncheckedCastNullableTToT is safe as long as the callers are careful to pass a "real" T
         * whenever they pass `true` for the matching `has*Bound` parameter.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        }
      }
    
      /**
       * Iterates the elements of the queue in no particular order.
       *
       * <p>If the underlying queue is modified during iteration an exception will be thrown.
       */
      private final class QueueIterator implements Iterator<E> {
        private int cursor = -1;
        private int nextCursor = -1;
        private int expectedModCount = modCount;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java

        @InjectMocks
        private UrlQueueServiceImpl service;
    
        @Mock
        private MemoryDataHelper dataHelper;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            MockitoAnnotations.openMocks(this);
        }
    
        public void test_add() {
            // Setup
            String sessionId = "session123";
            String url = "https://example.com/page";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertEquals(0, block.getBatchLimit((byte) 0x25));
        }
    
        @Test
        @DisplayName("encode without andx succeeds and signs when digest present")
        void testEncodeNoAndxWithSigning() throws Exception {
            DummyAndXBlock block = new DummyAndXBlock();
            TestSigningDigest digest = new TestSigningDigest();
            block.digest = digest;
    
            byte[] buf = new byte[256];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        try {
          presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation);
          absentFeatures = (Feature<?>[]) annotationClass.getMethod("absent").invoke(testerAnnotation);
        } catch (Exception e) {
          throw new IllegalArgumentException("Error extracting features from tester annotation.", e);
        }
        Set<Feature<?>> allPresentFeatures = addImpliedFeatures(copyToSet(presentFeatures));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmContext.java

                }
    
                this.isEstablished = true;
                this.state++;
                return out;
            } catch (final SmbException e) {
                throw e;
            } catch (final Exception e) {
                throw new SmbException(e.getMessage(), e);
            }
        }
    
        /**
         * Creates a Type 3 (authentication) message in response to the Type 2 message received from the server.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertEquals(112, size);
        }
    
        @Test
        @DisplayName("Should calculate size correctly with contexts")
        void testSizeWithContexts() throws Exception {
            // Given
            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311);
            when(mockConfig.isEncryptionEnabled()).thenReturn(true);
            request = new Smb2NegotiateRequest(mockConfig, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

       * value [TRAILERS_RESPONSE_BODY_TRUNCATED]. In that case attempts to read the trailers should not
       * return the value but instead throw an exception.
       */
      private var trailers: Headers? = null
    
      override val isResponseComplete: Boolean
        get() = state == STATE_CLOSED
    
      override fun createRequestBody(
        request: Request,
        contentLength: Long,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  10. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

         * which was showing transitive inconsistency: since A &gt; B and B &gt; C then we should have A &gt; C
         * otherwise sorting a list of ComparableVersions() will in some cases throw runtime exception;
         * see Netbeans issues <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=240845">240845</a> and
         * <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=226100">226100</a>
         */
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top