javapns.notification.exceptions
Class ErrorResponsePacketReceivedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javapns.notification.exceptions.ErrorResponsePacketReceivedException
All Implemented Interfaces:
Serializable

public class ErrorResponsePacketReceivedException
extends Exception

Specific exception indicating that the library received an error-response packet from Apple. You do not need to catch this exception specifically, as it will be put in a PushedNotification object as the exception that caused a push notification to having failed.

Author:
Sylvain Pedneault
See Also:
Serialized Form

Constructor Summary
ErrorResponsePacketReceivedException(ResponsePacket packet)
           
 
Method Summary
 ResponsePacket getPacket()
           
 
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

ErrorResponsePacketReceivedException

public ErrorResponsePacketReceivedException(ResponsePacket packet)
Method Detail

getPacket

public ResponsePacket getPacket()