Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ClusterException (0.22 sec)

  1. android/guava-testlib/src/com/google/common/testing/ClusterException.java

     *       exceptions.add(e);
     *     }
     *   }
     *   if (exceptions.size() > 0) {
     *     throw ClusterException.create(exceptions);
     *   }
     * }
     * </pre>
     *
     * <p>See semantic details at {@link #create(Collection)}.
     *
     * @author Luiz-Otavio Zorzella
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class ClusterException extends RuntimeException {
    
      final Collection<? extends Throwable> exceptions;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ClusterException.java

     *       exceptions.add(e);
     *     }
     *   }
     *   if (exceptions.size() &gt; 0) {
     *     throw ClusterException.create(exceptions);
     *   }
     * }
     * </pre>
     *
     * <p>See semantic details at {@link #create(Collection)}.
     *
     * @author Luiz-Otavio Zorzella
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class ClusterException extends RuntimeException {
    
      final Collection<? extends Throwable> exceptions;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

        try {
          stack.runTearDown();
          fail("runTearDown should have thrown an exception");
        } catch (ClusterException expected) {
          assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("two");
        } catch (RuntimeException e) {
          throw new RuntimeException(
              "A ClusterException should have been thrown, rather than a " + e.getClass().getName(), e);
        }
    
        assertEquals(true, tearDownOne.ran);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

        try {
          stack.runTearDown();
          fail("runTearDown should have thrown an exception");
        } catch (ClusterException expected) {
          assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("two");
        } catch (RuntimeException e) {
          throw new RuntimeException(
              "A ClusterException should have been thrown, rather than a " + e.getClass().getName(), e);
        }
    
        assertEquals(true, tearDownOne.ran);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/TearDownStack.java

              logger.log(Level.INFO, "exception thrown during tearDown", t);
            } else {
              exceptions.add(t);
            }
          }
        }
        if (!suppressThrows && (exceptions.size() > 0)) {
          throw ClusterException.create(exceptions);
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

              logger.log(Level.INFO, "exception thrown during tearDown", t);
            } else {
              exceptions.add(t);
            }
          }
        }
        if (!suppressThrows && (exceptions.size() > 0)) {
          throw ClusterException.create(exceptions);
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 2.4K bytes
    - Viewed (0)
Back to top