PushResultMessage rm = push(notification, true);
if (ignoreFrequency && rm.getResult() != PushResult.SUCCESS) {
// only record success of dispatchNow as failed notifications must
// not be stored for later use
throw new NotifyException("failed to dispatch now: " + notification + " (" + rm.getMessage() + ")");
} else {
recordPushAttempt(notification, rm);
}
}