Is it possible to test for multiple exceptions in a single JUnit unit test? I know for a single exception one can use, for example
@Test(expected=Illega
@Test(expected=Exception.class)
This will throw all possible exceptions.