Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for SomeError (0.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException)
              .put(SomeError.class, e -> e instanceof SomeError)
              .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException)
              .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

      // We're testing that the method is in fact equivalent to throwing the exception directly.
      @SuppressWarnings("ThrowIfUncheckedKnownUnchecked")
      public void testThrowIfUnchecked_error() {
        assertThrows(SomeError.class, () -> throwIfUnchecked(new SomeError()));
      }
    
      @SuppressWarnings("ThrowIfUncheckedKnownChecked")
      public void testThrowIfUnchecked_checked() {
        throwIfUnchecked(new SomeCheckedException());
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java

    package com.google.common.collect.testing.testers;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static final class SomeError extends Error {}
    
      static final class SomeCheckedException extends Exception {}
    
      static final class SomeOtherCheckedException extends Exception {}
    
      static final class YetAnotherCheckedException extends Exception {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException)
              .put(SomeError.class, e -> e instanceof SomeError)
              .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException)
              .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java

              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException)
              .put(SomeError.class, e -> e instanceof SomeError)
              .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException)
              .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException)
              .put(SomeError.class, e -> e instanceof SomeError)
              .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException)
              .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/ThrowablesTest.java

      // We're testing that the method is in fact equivalent to throwing the exception directly.
      @SuppressWarnings("ThrowIfUncheckedKnownUnchecked")
      public void testThrowIfUnchecked_error() {
        assertThrows(SomeError.class, () -> throwIfUnchecked(new SomeError()));
      }
    
      @SuppressWarnings("ThrowIfUncheckedKnownChecked")
      public void testThrowIfUnchecked_checked() {
        throwIfUnchecked(new SomeCheckedException());
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java

    package com.google.common.collect.testing.testers;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static final class SomeError extends Error {}
    
      static final class SomeCheckedException extends Exception {}
    
      static final class SomeOtherCheckedException extends Exception {}
    
      static final class YetAnotherCheckedException extends Exception {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top