Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1521 - 1530 of 1,812 for rethrow (0.08 sec)

  1. src/test/java/jcifs/smb1/util/LogStreamTest.java

            assertTrue(output.contains("true"));
    
            // Test close
            logStream.close();
            // After close, the stream should not accept more writes
            // but PrintStream doesn't throw exceptions on write after close
        }
    
        @Test
        void testConcurrentAccess() throws InterruptedException {
            // Test thread safety of getInstance
            LogStream.setInstance(testStream);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        if (map.containsKey(key)) {
          // When a collision happens, the colliding entry is the first entry
          // of the tail map.
          Entry<K, V> previousEntry = map.tailMap(key).entrySet().iterator().next();
          throw new IllegalArgumentException(
              "Duplicate keys in mappings "
                  + previousEntry.getKey()
                  + "="
                  + previousEntry.getValue()
                  + " and "
                  + key
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

          delegate.onFailure(webSocket, t, response)
        } else {
          events.add(Failure(t, response))
        }
      }
    
      private fun nextEvent(): Any =
        events.poll(10, TimeUnit.SECONDS)
          ?: throw AssertionError("Timed out waiting for event.")
    
      fun assertTextMessage(payload: String?) {
        assertThat(nextEvent()).isEqualTo(Message(string = payload))
      }
    
      fun assertBinaryMessage(payload: ByteString?) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Funnels.java

        }
    
        Object writeReplace() {
          return new SerializedForm(charset);
        }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
          throw new InvalidObjectException("Use SerializedForm");
        }
    
        private static final class SerializedForm implements Serializable {
          private final String charsetCanonicalName;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        /* ------------------------------------------------------------------ */
    
        @Test
        @DisplayName("Construct with a valid configuration - should not throw")
        void testConstructionWithValidConfiguration() {
            assertDoesNotThrow(() -> new SmbComSeekResponse(mockConfig));
        }
    
        @Test
        @DisplayName("getOffset before any read - should return zero")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/Funnels.java

        }
    
        Object writeReplace() {
          return new SerializedForm(charset);
        }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
          throw new InvalidObjectException("Use SerializedForm");
        }
    
        private static final class SerializedForm implements Serializable {
          private final String charsetCanonicalName;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                            robotsTxt.addSitemap(value);
                        }
                    }
                }
    
                return robotsTxt;
            } catch (final Exception e) {
                throw new RobotsTxtException("Failed to parse robots.txt.", e);
            }
        }
    
        /**
         * Extracts the value from a line using the given pattern.
         * @param pattern the pattern to match against
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

         * @throws FessSystemException if the crawling information is null
         */
        protected void setupStoreCondition(final CrawlingInfo crawlingInfo) {
            if (crawlingInfo == null) {
                throw new FessSystemException("Crawling Session is null.");
            }
            final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
            if (crawlingInfo.getCreatedTime() == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Invokable.java

      /** Explicitly specifies the return type of this {@code Invokable}. */
      public final <R1 extends R> Invokable<T, R1> returning(TypeToken<R1> returnType) {
        if (!returnType.isSupertypeOf(getReturnType())) {
          throw new IllegalArgumentException(
              "Invokable is known to return " + getReturnType() + ", not " + returnType);
        }
        @SuppressWarnings("unchecked") // guarded by previous check
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                // When/Then
                assertThrows(NullPointerException.class, () -> {
                    bindWithNullBinding.encode_in(mockBuffer);
                }, "Should throw NullPointerException when binding is null");
            }
    
            @Test
            @DisplayName("encode_in should use default constructor values")
            void testEncodeInDefaultConstructor() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top