public InstrumentationExceptionTestClass(String message) throws MyTestException { try { throw new MyTestException(message); } catch (MyTestException e) { } }
public void throwsAndHandlesException() { try { throw new MyTestException(); } catch (MyTestException e) { } }
public void throwsAnException() throws MyTestException { throw new MyTestException(); }
public static void staticThrowsAnException() throws MyTestException { throw new MyTestException(); }
public void createsExceptionObject() { new MyTestException(); }