Class UnregisteredDeviceTokenException

All Implemented Interfaces:

public class UnregisteredDeviceTokenException extends RejectedNotificationException
An exception thrown by PushNotificationHandler instances to indicate that a push notification should be rejected by the server because its destination device token is no longer valid (presumably because the receiving app has been removed from the destination device).
See Also:
  • Constructor Details

    • UnregisteredDeviceTokenException

      public UnregisteredDeviceTokenException(Instant deviceTokenExpirationTimestamp)
      Constructs a new unregistered device token exception indicating that the device token expired at the given time.
      deviceTokenExpirationTimestamp - the time at which the destination device token expired