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