AcsShowCaseException extends RuntimeException { public AcsShowCaseException() { super(); } AcsShowCaseException();  AcsShowCaseException(String arg0, Throwable arg1);  AcsShowCaseException(String arg0);  AcsShowCaseException(Throwable arg0);   }
@Test public void testAcsShowCaseException() { AcsShowCaseException acs = new AcsShowCaseException(); assertNotNull(acs); String errMsg = "acsShowCaseException Message"; acs = new AcsShowCaseException(errMsg); assertEquals(errMsg, acs.getMessage()); acs = new AcsShowCaseException(new Throwable(errMsg)); assertEquals("java.lang.Throwable: "+ errMsg, acs.getMessage()); acs = new AcsShowCaseException(errMsg, new Throwable(errMsg)); assertEquals(errMsg, acs.getMessage()); assertEquals(Throwable.class , acs.getCause().getClass()); }