CannotInstantiateObjectException extends RequestException { public CannotInstantiateObjectException() { } CannotInstantiateObjectException();  CannotInstantiateObjectException(String message);  CannotInstantiateObjectException(Throwable e);  CannotInstantiateObjectException(String message, Throwable e);   }
@Test public void testCannotInstantiateObjectException() { CannotInstantiateObjectException exception = new CannotInstantiateObjectException(); assertNull(exception.getMessage()); assertNull(exception.getCause()); }