ImportException extends IOException { public ImportException(final String message) { super(message); } ImportException(final String message);  ImportException(final PushbackLineNumberReader lnr, final String message, final Throwable cause);   }
@Test public void testImportException() { String msg = "bumm"; try { throw new ImportException(msg); } catch (ImportException ie) { assertEquals(msg, ie.getMessage()); } }