### Question:
FrameworkException extends RuntimeException { public static FrameworkException nestedException(Throwable e) { return nestedException("", e); } FrameworkException();  FrameworkException(FrameworkErrorCode err);  FrameworkException(String msg);  FrameworkException(String msg, FrameworkErrorCode errCode);  FrameworkException(Throwable cause, String msg, FrameworkErrorCode errCode);  FrameworkException(Throwable th);  FrameworkException(Throwable th, String msg); FrameworkErrorCode getErrcode(); static FrameworkException nestedException(Throwable e); static FrameworkException nestedException(String msg, Throwable e); static SQLException nestedSQLException(Throwable e); static SQLException nestedSQLException(String msg, Throwable e);  }### Answer:
@Test public void testNestedException() { Throwable throwable = Assertions.assertThrows(FrameworkException.class, () -> { message.print(); }); assertThat(throwable).hasMessage(""); }