@Test public void testNestedException() { try { message.print(); } catch (Exception e) { assertThat(e).isInstanceOf(FrameworkException.class).hasMessage(""); } }
public static FrameworkException nestedException(Throwable e) { return nestedException("", e); }
FrameworkException extends RuntimeException { public static FrameworkException nestedException(Throwable e) { return nestedException("", e); } }
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); }
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); }
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);  }