NotificationException

From Xojo Documentation

Revision as of 02:16, 7 November 2020 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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