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

/external/chromium_org/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/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) {
/external/lldb/test/unittest2/test/
H A Dtest_case.py14 class MyException(Exception): class in inherits:Exception
204 def runTest(self): raise MyException()
215 def runTest(self): raise MyException()
226 def runTest(self): raise MyException()

Completed in 109 milliseconds