catch exception thrown when sending mms without apns set