Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BadRunnableException (0.12 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      public void testMisbehavingListenerAlreadyDone() {
        class BadRunnableException extends RuntimeException {}
    
        Runnable bad =
            new Runnable() {
              @Override
              public void run() {
                throw new BadRunnableException();
              }
            };
    
        future.set(1);
        future.addListener(bad, directExecutor()); // BadRunnableException must not propagate.
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      public void testMisbehavingListenerAlreadyDone() {
        class BadRunnableException extends RuntimeException {}
    
        Runnable bad =
            new Runnable() {
              @Override
              public void run() {
                throw new BadRunnableException();
              }
            };
    
        future.set(1);
        future.addListener(bad, directExecutor()); // BadRunnableException must not propagate.
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top