NotificationException

From Xojo Documentation

Class (inherits from RuntimeException)

Occurs when a Notification cannot be sent.

Properties
ErrorNumber Message
Methods
Stack StackFrames

Notes

There are three reasons why an error occurs:

  1. There is an error sending a particular Notification, in which case Notification will contain the Notification object.
  2. The user has declined to allow local notifications. in which case, the Notification will be Nil.
  3. The user has declined to allow or the device is not capable of receiving remote notifications in which case, Notification will be Nil.

Compatibility

iOS project types on iOS and iPadOS operating systems.

See Also

RuntimeException class; Function, Catch, Raise statements; Nil datatype; Exception, Try statements; UserGuide:Exception Handling topic