Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 2,867 for exception (0.46 sec)

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      protected ListenableFuture<Boolean> future;
    
      @Override
      protected void setUp() throws Exception {
    
        // Create a latch and a future that waits on the latch.
        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
        // Make sure we have no waiting threads.
        latch.countDown();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testAsAsyncCallable_exception() throws Exception {
        Exception expected = new IllegalArgumentException();
        Callable<String> callable =
            new Callable<String>() {
              @Override
              public String call() throws Exception {
                throw expected;
              }
            };
    
        AsyncCallable<String> asyncCallable =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            assertEquals("2014-11-16T00:16:00Z", format.format(secondTestDate));
        }
    
        @Test
        public void testShouldNotThrowExceptionOnReferenceToNonExistentValue() throws Exception {
            Model model = new Model(org.apache.maven.api.model.Model.newBuilder()
                    .scm(org.apache.maven.api.model.Scm.newBuilder()
                            .connection("${test}/somepath")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/logging/SimpleBuildEventListener.java

        @Override
        public void executionFailure(String projectId, boolean halted, String exception) {}
    
        @Override
        public void mojoStarted(ExecutionEvent event) {}
    
        @Override
        public void finish(int exitCode) throws Exception {}
    
        @Override
        public void fail(Throwable t) throws Exception {}
    
        @Override
        public void log(String msg) {
            output.accept(msg);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

        @Nested
        @DisplayName("Artifact Extraction")
        class GAVExtractionTests {
    
            @Test
            @DisplayName("should extract Artifact from complete POM")
            void shouldExtractGAVFromCompletePOM() throws Exception {
                String pomXml = PomBuilder.create()
                        .groupId("com.example")
                        .artifactId("test-project")
                        .version("1.0.0")
                        .build();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

    import org.codelibs.fess.crawler.entity.AccessResultDataImpl;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.ResultData;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.extractor.ExtractorFactory;
    import org.codelibs.fess.crawler.extractor.impl.TikaExtractor;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java

    import org.apache.maven.api.services.MavenException;
    
    /**
     * An exception thrown while writing an XML file.
     *
     * @since 4.0.0
     */
    @Experimental
    public class XmlWriterException extends MavenException {
    
        private final Location location;
    
        /**
         * @param message the message for the exception
         * @param e the exception itself
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            @Override
            public void onRequestEnd(final FaultTolerantClient client, RequestData request, final List<Exception> exceptionList) {
                endCount++;
            }
    
            @Override
            public void onException(final FaultTolerantClient client, RequestData request, final int count, final Exception e) {
                exceptionCount++;
                exceptionUrl = request.getUrl();
            }
    
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

      };
    
      private final OkHttpClient client;
    
      public RewriteResponseCacheControl(File cacheDirectory) throws Exception {
        Cache cache = new Cache(cacheDirectory, 1024 * 1024);
        cache.evictAll();
    
        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
      public void run() throws Exception {
        for (int i = 0; i < 5; i++) {
          System.out.println("    Request: " + i);
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThat(cache.getUnchecked(key)).isEqualTo(key + suffix);
      }
    
      static <T> Callable<T> throwing(Exception exception) {
        return new Callable<T>() {
          @Override
          public T call() throws Exception {
            throw exception;
          }
        };
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
Back to top