final HandlerException he1_pre = new HandlerException(e_pre);
he1_pre.fillInStackTrace();
final RuntimeException re_pre = new RuntimeException("re", he1_pre);
re_pre.fillInStackTrace();
final SwitchYardException sye_pre = new SwitchYardException("sye", re_pre);
sye_pre.fillInStackTrace();
final HandlerException he2_pre = new HandlerException("he", sye_pre);
he2_pre.fillInStackTrace();
// create message
RemoteMessage msg = new RemoteMessage();
msg.setContent(he2_pre);