Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 2,436 for exception (0.05 sec)

  1. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

       *
       * <p>There is no guaranteed ordering of execution of listeners, but any listener added through
       * this method is guaranteed to be called once the computation is complete.
       *
       * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
       * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. 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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/EnumsTest.java

      }
    
    
      @J2ktIncompatible
      @GwtIncompatible // weak references
      @AndroidIncompatible // depends on details of GC and classloading
      public void testGetIfPresent_doesNotPreventClassUnloading() throws Exception {
        WeakReference<?> shadowLoaderReference = doTestClassUnloading();
        GcFinalization.awaitClear(shadowLoaderReference);
      }
    
      // Create a second ClassLoader and use it to get a second version of the TestEnum class.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. 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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsParseException.java

     * under the License.
     */
    package org.apache.maven.toolchain.io;
    
    import java.io.IOException;
    
    /**
     * Signals a failure to parse the toolchains due to invalid syntax (e.g. non well formed XML or unknown elements).
     *
     * @since 3.3.0
     */
    @Deprecated(since = "4.0.0")
    public class ToolchainsParseException extends IOException {
    
        /**
         * The one-based index of the line containing the error.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

            assertEquals("<%= a", AdminDesignAction.decodeJsp("<%= a"));
            assertEquals("<% try{ %>", AdminDesignAction.decodeJsp("<!--TRY-->"));
            assertEquals("<% }catch(Exception e){session.invalidate();} %>",
                    AdminDesignAction.decodeJsp("<!--CACHE_AND_SESSION_INVALIDATE-->"));
            assertEquals("&lt;% a %&gt; %>", AdminDesignAction.decodeJsp("<% a %> %>"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jul 28 09:03:48 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
    
      public PackageSanityTests() throws Exception {
        DummySubscriber dummySubscriber = new DummySubscriber();
        setDefault(Subscriber.class, dummySubscriber.toSubscriber());
        setDefault(Method.class, DummySubscriber.subscriberMethod());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java

      private static final String RESULT_DATA = "SUCCESS";
      private static final UndeclaredThrowableException WRAPPED_EXCEPTION =
          new UndeclaredThrowableException(EXCEPTION);
    
      @Override
      protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) {
        return transform(inputFuture, new ComposeFunction(), directExecutor());
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 28 16:27:15 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AsyncFunction.java

       * asynchronous derivations.
       *
       * <p>Throwing an exception from this method is equivalent to returning a failing {@code Future}.
       */
      ListenableFuture<O> apply(@ParametricNullness I input) throws Exception;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 10:45:35 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    class MavenPropertiesLoaderTest {
    
        @Test
        void testIncludes() throws Exception {
            FileSystem fs = Jimfs.newFileSystem(Configuration.unix());
    
            Path mavenHome = fs.getPath("/maven");
            Files.createDirectories(mavenHome);
            Path mavenConf = mavenHome.resolve("conf");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top