Searched refs:MyException (Results 1 – 8 of 8) sorted by relevance
28 function MyException() { } class31 o.valueOf = function() { throw new MyException(); }33 assertThrows(function() { o + 1 }, MyException);
82 } catch (MyException expected) { in testBroken()87 } catch (MyException expected) { in testBroken()113 throw new MyException();118 private static class MyException extends RuntimeException {}
95 } catch (MyException expected) { in testBroken()100 } catch (MyException expected) { in testBroken()126 throw new MyException();131 private static class MyException extends RuntimeException {}
60 class MyException extends Exception {} in testRenaming_exceptionalReturn() class64 throw new MyException(); in testRenaming_exceptionalReturn()70 } catch (MyException expected) {} in testRenaming_exceptionalReturn()
158 private static class MyException extends Exception {} class in FuturesTest161 CheckedFuture<String, MyException> future = Futures.immediateCheckedFuture( in testImmediateCheckedFuture()170 CheckedFuture<String, MyException> future1 = Futures.immediateCheckedFuture( in testMultipleImmediateCheckedFutures()172 CheckedFuture<String, MyException> future2 = Futures.immediateCheckedFuture( in testMultipleImmediateCheckedFutures()183 MyException exception = new MyException(); in testImmediateFailedCheckedFuture()184 CheckedFuture<String, MyException> future = in testImmediateFailedCheckedFuture()198 } catch (MyException expected) { in testImmediateFailedCheckedFuture()1008 Futures.allAsList(immediateFailedFuture(new MyException())).get();1011 assertTrue(e.getCause() instanceof MyException);1039 Futures.allAsList(immediateFailedFuture(new MyException()),[all …]
602 class MyException {}; class605 const Action<double(char ch)> a = Throw(MyException()); in TEST()606 EXPECT_THROW(a.Perform(make_tuple('0')), MyException); in TEST()610 const Action<double()> a = Throw(MyException()); in TEST()611 EXPECT_THROW(a.Perform(make_tuple()), MyException); in TEST()
14 class MyException(Exception): class204 def runTest(self): raise MyException()215 def runTest(self): raise MyException()226 def runTest(self): raise MyException()
300 SOURCE=..\..\..\Common\MyException.h