Home | History | Annotate | Download | only in collect

Lines Matching defs:exception

76       fail("no exception thrown");
174 public void testSneakyThrow() throws Exception {
188 // The first time, the sneakily-thrown exception comes out
191 fail("No exception thrown");
192 } catch (Exception e) {
201 fail("No exception thrown");
207 final SomeUncheckedException exception = new SomeUncheckedException();
210 throw exception;
217 fail("No exception thrown");
219 assertSame(exception, e);
232 fail("No exception thrown");
253 fail("No exception thrown");
277 * Throws a undeclared checked exception.
289 private static class SomeCheckedException extends Exception {