Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1301 - 1310 of 3,637 for throwIf (0.06 seconds)

  1. guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeInt(size());
        for (E e : this) {
          stream.writeObject(e);
        }
      }
    
      @SuppressWarnings("unchecked")
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/ChatSessionTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class ChatSessionTest extends UnitFessTestCase {
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_defaultConstructor() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java

    public class ScheduledJobTest extends UnitFessTestCase {
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown(testInfo);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            ComponentUtil.register(new DataSerializer(), "dataSerializer");
            // Register protocolHelper - it doesn't need FessConfig for the methods used in tests
            ComponentUtil.register(new ProtocolHelper(), "protocolHelper");
        }
    
        @Test
        public void test_transform() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            .build();
      }
    
      private static Iterable<Striped<?>> allImplementations() {
        return concat(strongImplementations(), weakImplementations());
      }
    
      public void testNull() throws Exception {
        for (Striped<?> striped : allImplementations()) {
          new NullPointerTester().testAllPublicInstanceMethods(striped);
        }
      }
    
      public void testSizes() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            .build();
      }
    
      private static Iterable<Striped<?>> allImplementations() {
        return concat(strongImplementations(), weakImplementations());
      }
    
      public void testNull() throws Exception {
        for (Striped<?> striped : allImplementations()) {
          new NullPointerTester().testAllPublicInstanceMethods(striped);
        }
      }
    
      public void testSizes() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      @SuppressLint("NewApi")
      override fun afterEach(context: ExtensionContext) {
        val failure = context.executionException.orElseGet { null }
    
        if (uncaughtException != null) {
          throw failure + AssertionError("uncaught exception thrown during test", uncaughtException)
        }
    
        if (context.isFlaky()) {
          logEvents()
        }
    
        LogManager.getLogManager().reset()
    
        var result: Throwable? = failure
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Streams.java

      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void closeAll(BaseStream<?, ?>[] toClose) {
        // If one of the streams throws an exception, continue closing the others, then throw the
        // exception later. If more than one stream throws an exception, the later ones are added to the
        // first as suppressed exceptions. We don't catch Error on the grounds that it should be allowed
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                    throw new JobProcessingException(out.toString());
                }
                ComponentUtil.getPopularWordHelper().clearCache();
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("ThumbnailGenerator Process terminated.", e);
            } finally {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/ResourceManager.java

                this.manager = manager;
            }
    
            public T get() {
                if (closed) {
                    throw new IllegalStateException("Resource has been closed: " + resourceId);
                }
                return resource;
            }
    
            @Override
            public void close() throws Exception {
                if (closed) {
                    return;
                }
    
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.2K bytes
    - Click Count (0)
Back to Top