Class UnregisteredDeviceTokenException

All Implemented Interfaces:
Serializable

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).
Since:
0.12
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.
      Parameters:
      deviceTokenExpirationTimestamp - the time at which the destination device token expired