Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SomeUncheckedException (0.2 sec)

  1. guava-tests/test/com/google/common/base/ThrowablesTest.java

     */
    @GwtCompatible(emulated = true)
    public class ThrowablesTest extends TestCase {
      public void testThrowIfUnchecked_Unchecked() {
        try {
          throwIfUnchecked(new SomeUncheckedException());
          fail();
        } catch (SomeUncheckedException expected) {
        }
      }
    
      public void testThrowIfUnchecked_Error() {
        try {
          throwIfUnchecked(new SomeError());
          fail();
        } catch (SomeError expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

     */
    @GwtCompatible(emulated = true)
    public class ThrowablesTest extends TestCase {
      public void testThrowIfUnchecked_Unchecked() {
        try {
          throwIfUnchecked(new SomeUncheckedException());
          fail();
        } catch (SomeUncheckedException expected) {
        }
      }
    
      public void testThrowIfUnchecked_Error() {
        try {
          throwIfUnchecked(new SomeError());
          fail();
        } catch (SomeError expected) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        try {
          iter.hasNext();
          fail("No exception thrown");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testException() {
        final SomeUncheckedException exception = new SomeUncheckedException();
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              @Override
              public Integer computeNext() {
                throw exception;
              }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

        try {
          iter.hasNext();
          fail("No exception thrown");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testException() {
        final SomeUncheckedException exception = new SomeUncheckedException();
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              @Override
              public Integer computeNext() {
                throw exception;
              }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java

        try {
          iter.hasNext();
          fail("No exception thrown");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testException() {
        final SomeUncheckedException exception = new SomeUncheckedException();
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              @Override
              public Integer computeNext() {
                throw exception;
              }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        try {
          iter.hasNext();
          fail("No exception thrown");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testException() {
        final SomeUncheckedException exception = new SomeUncheckedException();
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              @Override
              public Integer computeNext() {
                throw exception;
              }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top