javapns.communication.exceptions
Class CommunicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javapns.communication.exceptions.CommunicationException
- All Implemented Interfaces:
- Serializable
public class CommunicationException
- extends Exception
General exception indicating that the library experienced some problem related to
communication (sockets, SSL, etc.) with APNS servers.
This exception needs to be catched by developers using JavaPNS, as it is one of
the few that are explicitely thrown by most push methods.
Although this is a general exception, much more details can be found out by
examining the cause exception that this general exception encapsulates.
- Author:
- Sylvain Pedneault
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CommunicationException
public CommunicationException(String message,
Exception cause)