HomeSort by relevance Sort by last modified time
    Searched defs:MyException (Results 1 - 20 of 20) sorted by null

  /art/test/088-monitor-verification/src/
MyException.java 17 public class MyException extends RuntimeException {
18 public MyException() {
21 public MyException(String msg) {
Main.java 56 } catch (MyException me) {}
101 throw new MyException();
  /external/catch2/examples/
207-Rpt-TeamCityReporter.cpp 77 struct MyException: public std::runtime_error
79 MyException( char const * text )
82 ~MyException() override;
86 MyException::~MyException() = default;
114 CHECK_THROWS_MATCHES( throw MyException("hello"), MyException, MyExceptionMatcher("world") );
  /art/tools/
stream-trace-converter.py 23 class MyException(Exception):
81 raise MyException("Magic wrong")
87 raise MyException("Does not seem to be a streaming trace: %d." % version)
91 raise MyException("Only support version 3")
142 raise MyException("Unknown special!")
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
CallablesTest.java 60 class MyException extends Exception {}
64 throw new MyException();
70 } catch (MyException expected) {}
FuturesTest.java 160 private static class MyException extends Exception {}
163 CheckedFuture<String, MyException> future = Futures.immediateCheckedFuture(
172 CheckedFuture<String, MyException> future1 = Futures.immediateCheckedFuture(
174 CheckedFuture<String, MyException> future2 = Futures.immediateCheckedFuture(
185 MyException exception = new MyException();
186 CheckedFuture<String, MyException> future =
199 fail("This call was supposed to throw an MyException");
200 } catch (MyException expected) {
    [all...]
  /external/mockito/src/test/java/org/mockito/internal/stubbing/
InvocationContainerImplStubbingTest.java 70 invocationContainerImpl.addAnswer(new ThrowsException(new MyException()), null);
77 } catch (MyException e) {}
87 invocationContainerImplStubOnly.addAnswer(new ThrowsException(new MyException()), null);
94 } catch (MyException e) {}
106 class MyException extends RuntimeException {}
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_exceptions.py 435 # Bug #2542: if issubclass(e, MyException) raises an exception,
441 class MyException(Exception):
448 except MyException, e:
449 self.fail("exception should not be a MyException")
test_descr.py     [all...]
  /external/python/cpython2/Lib/test/
test_exceptions.py 446 # Bug #2542: if issubclass(e, MyException) raises an exception,
452 class MyException(Exception):
459 except MyException, e:
460 self.fail("exception should not be a MyException")
480 class MyException(Exception):
485 raise MyException
test_fileio.py 491 class MyException(Exception): pass
495 raise MyException("blocked setting name")
498 self.assertRaises(MyException, MyFileIO, fd)
test_descr.py     [all...]
  /external/python/cpython3/Lib/test/
test_raise.py 123 class MyException(Exception):
128 raise MyException
136 class MyException(Exception):
141 raise MyException
198 class MyException(Exception):
203 raise IndexError from MyException
test_fileio.py 558 class MyException(Exception): pass
562 raise MyException("blocked setting name")
565 self.assertRaises(MyException, MyFileIO, fd)
test_exceptions.py 437 class MyException(Exception):
440 e = MyException().with_traceback(tb)
441 self.assertIsInstance(e, MyException)
478 class MyException(OSError):
481 e = MyException()
549 class MyException(Exception):
558 raise MyException(obj)
565 except MyException as e:
576 except MyException:
631 except MyException
    [all...]
test_coroutines.py     [all...]
test_descr.py     [all...]
  /external/google-breakpad/src/testing/test/
gmock-more-actions_test.cc 602 class MyException {};
605 const Action<double(char ch)> a = Throw(MyException());
606 EXPECT_THROW(a.Perform(make_tuple('0')), MyException);
610 const Action<double()> a = Throw(MyException());
611 EXPECT_THROW(a.Perform(make_tuple()), MyException);
  /external/googletest/googlemock/test/
gmock-more-actions_test.cc 596 class MyException {};
599 const Action<double(char ch)> a = Throw(MyException());
600 EXPECT_THROW(a.Perform(std::make_tuple('0')), MyException);
604 const Action<double()> a = Throw(MyException());
605 EXPECT_THROW(a.Perform(std::make_tuple()), MyException);
  /external/python/cpython3/Lib/unittest/test/
test_case.py 84 def runTest(self): raise MyException()
105 def runTest(self): raise MyException()
116 def runTest(self): raise MyException()
    [all...]

Completed in 1066 milliseconds