protected void serverErrorNotification(ErrorInfo ei, final String args, final Session ses, final PluginContext pctx)
throws IOException, InterruptedException, MessagingNetworkException
{
//unhandled server error notifications close the connection
MessagingNetworkException ex = Errors.createException(ei);
close(ex.getMessage(), ex.getLogger(), ex.getEndUserReasonCode());
throw Errors.createException(ei);
}