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
public class UnregisteredDeviceTokenException extends RejectedNotificationException
An exception thrown byPushNotificationHandler
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnregisteredDeviceTokenException(Date 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 Detail
-
UnregisteredDeviceTokenException
public UnregisteredDeviceTokenException(Date 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
-
-