Home
last modified time | relevance | path

Searched refs:SomeException (Results 1 – 8 of 8) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/bugs/
DFillInStackTraceScenariosTest.java31 private class SomeException extends RuntimeException {} class in FillInStackTraceScenariosTest
41 return new SomeException(); in fillInStackTrace()
61 } catch(SomeException e) {} in uses_return_value_from_fillInStackTrace()
/external/python/cpython2/Lib/test/
Dtest_cmath.py155 class SomeException(Exception): class
159 raise SomeException
162 raise SomeException
220 self.assertRaises(SomeException, f, MyComplexException())
221 self.assertRaises(SomeException, f, MyComplexExceptionOS())
/external/python/cpython3/Lib/test/
Dtest_cmath.py209 class SomeException(Exception): class
213 raise SomeException
216 raise SomeException
271 self.assertRaises(SomeException, f, MyComplexException())
272 self.assertRaises(SomeException, f, MyComplexExceptionOS())
/external/python/cpython3/Doc/whatsnew/
D3.0.rst717 :samp:`except {SomeException} as {variable}` instead
718 of :samp:`except {SomeException}, {variable}`. Moreover, the
/external/python/cpython3/Doc/library/
Dexceptions.rst98 except SomeException:
Dunittest.rst968 with self.assertRaises(SomeException):
978 with self.assertRaises(SomeException) as cm:
/external/python/cpython2/Doc/library/
Dunittest.rst930 with self.assertRaises(SomeException):
937 with self.assertRaises(SomeException) as cm:
/external/python/cpython3/Misc/
DHISTORY5262 ignore specified exceptions, replacing the "except SomeException: pass" idiom.