Package com.eatthepath.pushy.apns.server
Class UnregisteredDeviceTokenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.eatthepath.pushy.apns.server.RejectedNotificationException
com.eatthepath.pushy.apns.server.UnregisteredDeviceTokenException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionUnregisteredDeviceTokenException
(Instant deviceTokenExpirationTimestamp) Constructs a new unregistered device token exception indicating that the device token expired at the given time. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnregisteredDeviceTokenException
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
-