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);
95 } catch (MyException expected) { in testBroken()100 } catch (MyException expected) { in testBroken()126 throw new MyException();131 private static class MyException extends RuntimeException {}
270 private static class MyException extends java.io.IOException { class in SerializationStressTest1.MyExceptionWhenDumping1292 throw new MyException(); in writeObject()300 private static class MyException extends java.io.IOException { class in SerializationStressTest1.MyExceptionWhenDumping2316 throw new MyException(); in writeObject()337 private static class MyException extends java.io.IOException { class in SerializationStressTest1.MyUnserializableExceptionWhenDumping354 throw new MyException(); in writeObject()1293 } catch (MyExceptionWhenDumping1.MyException e) { in test_18_31_writeObject()1339 } catch (MyExceptionWhenDumping2.MyException e) { in test_18_32_writeObject()
305 private static class MyException extends java.io.IOException { class in ObjectOutputStreamTest.MyExceptionWhenDumping321 throw new MyException(); in writeObject()336 private static class MyException extends java.io.IOException { class in ObjectOutputStreamTest.MyUnserializableExceptionWhenDumping353 throw new MyException(); in writeObject()
601 class MyException {}; class604 const Action<double(char ch)> a = Throw(MyException()); in TEST()605 EXPECT_THROW(a.Perform(make_tuple('0')), MyException); in TEST()609 const Action<double()> a = Throw(MyException()); in TEST()610 EXPECT_THROW(a.Perform(make_tuple()), MyException); in TEST()
125 private static class MyException extends Exception {} class in FuturesTest128 CheckedFuture<String, MyException> future = Futures.immediateCheckedFuture( in testImmediateCheckedFuture()137 CheckedFuture<String, MyException> future1 = Futures.immediateCheckedFuture( in testMultipleImmediateCheckedFutures()139 CheckedFuture<String, MyException> future2 = Futures.immediateCheckedFuture( in testMultipleImmediateCheckedFutures()150 MyException exception = new MyException(); in testImmediateFailedCheckedFuture()151 CheckedFuture<String, MyException> future = in testImmediateFailedCheckedFuture()165 } catch (MyException expected) { in testImmediateFailedCheckedFuture()
300 SOURCE=..\..\..\Common\MyException.h