@Test
public void testGetErrcode() {

    try {
        message.print4();
    } catch (FrameworkException e) {
        assertThat(e).isInstanceOf(FrameworkException.class).hasMessage(
                FrameworkErrorCode.UnknownAppError.getErrMessage());
        assertThat(e.getErrcode()).isEqualTo(FrameworkErrorCode.UnknownAppError);
    }
}