Searched refs:MyException (Results 1 - 6 of 6) sorted by relevance

/external/v8/test/mjsunit/
H A Dvalue-of.js28 function MyException() { } function
31 o.valueOf = function() { throw new MyException(); }
33 assertThrows(function() { o + 1 }, MyException);
/external/guava/guava-tests/test/com/google/common/collect/
H A DAbstractLinkedIteratorTest.java95 } catch (MyException expected) {
100 } catch (MyException expected) {
126 throw new MyException();
131 private static class MyException extends RuntimeException {} class in class:AbstractLinkedIteratorTest
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DSerializationStressTest1.java270 private static class MyException extends java.io.IOException { class in class:SerializationStressTest1.MyExceptionWhenDumping1
292 throw new MyException();
300 private static class MyException extends java.io.IOException { class in class:SerializationStressTest1.MyExceptionWhenDumping2
316 throw new MyException();
337 private static class MyException extends java.io.IOException { class in class:SerializationStressTest1.MyUnserializableExceptionWhenDumping
354 throw new MyException();
1293 } catch (MyExceptionWhenDumping1.MyException e) {
1339 } catch (MyExceptionWhenDumping2.MyException e) {
H A DObjectOutputStreamTest.java305 private static class MyException extends java.io.IOException { class in class:ObjectOutputStreamTest.MyExceptionWhenDumping
321 throw new MyException();
336 private static class MyException extends java.io.IOException { class in class:ObjectOutputStreamTest.MyUnserializableExceptionWhenDumping
353 throw new MyException();
/external/chromium/testing/gmock/test/
H A Dgmock-more-actions_test.cc601 class MyException {}; class in namespace:testing::gmock_more_actions_test
604 const Action<double(char ch)> a = Throw(MyException());
605 EXPECT_THROW(a.Perform(make_tuple('0')), MyException);
609 const Action<double()> a = Throw(MyException());
610 EXPECT_THROW(a.Perform(make_tuple()), MyException);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DFuturesTest.java125 private static class MyException extends Exception {} class in class:FuturesTest
128 CheckedFuture<String, MyException> future = Futures.immediateCheckedFuture(
137 CheckedFuture<String, MyException> future1 = Futures.immediateCheckedFuture(
139 CheckedFuture<String, MyException> future2 = Futures.immediateCheckedFuture(
150 MyException exception = new MyException();
151 CheckedFuture<String, MyException> future =
164 fail("This call was supposed to throw an MyException");
165 } catch (MyException expected) {

Completed in 273 milliseconds