|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.relayrides.pushy.apns.RejectedNotificationException
public class RejectedNotificationException
Indicates that a notification was definitively rejected by APNs for a specific reason.
Constructor Summary | |
---|---|
RejectedNotificationException(int sequenceNumber,
RejectedNotificationReason errorCode)
Constructs a new rejected notification exception indicating that the notification sent with the given sequence number was rejected for the given reason. |
Method Summary | |
---|---|
RejectedNotificationReason |
getReason()
Returns the reason the notification was rejected by APNs. |
int |
getSequenceNumber()
Returns the sequence number of the notification rejected by APNs. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RejectedNotificationException(int sequenceNumber, RejectedNotificationReason errorCode)
sequenceNumber
- the sequence number of the rejected notificationerrorCode
- the reason reported by APNs for the rejectionMethod Detail |
---|
public int getSequenceNumber()
public RejectedNotificationReason getReason()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |