### Question:
ReportException extends Exception { public ReportException(String message) { super(message); } ReportException(String message);  ReportException(String message, Throwable cause);   }### Answer:
@Test public void testReportException() { log.info("testReportException"); ReportException rem = new ReportException(MESSAGE); assertEquals(MESSAGE, rem.getMessage()); assertNull(rem.getCause()); ReportException reme = new ReportException(MESSAGE, CAUSE); assertEquals(MESSAGE, reme.getMessage()); assertNotNull(reme.getCause()); assertEquals(CAUSE, reme.getCause()); log.info("Test successful!"); }