public class UnregisteredDeviceTokenException extends RejectedNotificationException
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).Constructor and Description |
---|
UnregisteredDeviceTokenException(Date deviceTokenExpirationTimestamp,
UUID apnsId)
Constructs a new unregistered device token exception indicating that the device token expired at the given time.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnregisteredDeviceTokenException(Date deviceTokenExpirationTimestamp, UUID apnsId)
deviceTokenExpirationTimestamp
- the time at which the destination device token expiredapnsId
- the notification identifier provided by the client that sent the notification; may be null
if the client did not provide an identifier or the identifier was invalid, in which case a server-generated
identifier will be used insteadCopyright © 2013–2018 Turo. All rights reserved.