public static void callsStaticMethodWithException() { try { InstrumentationExceptionTestClass.staticThrowsAnException(); } catch (MyTestException exception) { } }
public void callsMethodWithException() { try { throwsAnException(); } catch (MyTestException exception) { } }
public void callsMethodWithExceptionAndTryCatchFinally() { try { throwsAnException(); } catch (MyTestException e) { } finally { } } }
public InstrumentationExceptionTestClass(int i) throws MyTestException { throwsAnException(); }