logger.debug("polled for exception: {}", t.getMessage());
Assert.assertNotNull(t);
Assert.assertTrue(t.getMessage(), (t instanceof TerminatingNullByteNotFoundException));
TerminatingNullByteNotFoundException ex = (TerminatingNullByteNotFoundException)t;
// unwrap it
SubmitSmResp pdu0 = (SubmitSmResp)ex.getPartialPdu();
Assert.assertEquals(17, pdu0.getCommandLength());
Assert.assertEquals(SmppConstants.CMD_ID_SUBMIT_SM_RESP, pdu0.getCommandId());
Assert.assertEquals(0, pdu0.getCommandStatus());
Assert.assertEquals(171192033, pdu0.getSequenceNumber());
Assert.assertEquals(true, pdu0.isResponse());