assertEquals(e.getMessage(),"message invalid input format");
}
public void testMessageCauseConstructor()throws Exception{
Throwable cause = new Exception();
InvalidInputFormatException e = new InvalidInputFormatException("message invalid input format", cause);
assertNotNull(e);
assertEquals(e.getClass(), InvalidInputFormatException.class);
assertEquals(e.getMessage(),"message invalid input format");
assertEquals(e.getCause(), cause);
}