Init project.
Add example for @Test(expected=Exception.class) with JUnit.
Add example with JUnit ExpectedException @Rule.
Add @Test(expectedExceptions=, expectedExceptionsMessageRegExp=) example with TestNG.
Add example using try/fail/catch.
Add example using catch-exception.