javapns.communication.exceptions
Class KeystoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javapns.communication.exceptions.KeystoreException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- InvalidCertificateChainException, InvalidKeystoreFormatException, InvalidKeystorePasswordException, InvalidKeystoreReferenceException
public class KeystoreException
- extends Exception
General exception indicating that the library experienced some problem related to
your keystore, usually when attempting to read and load it.
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 |
KeystoreException
public KeystoreException(String message)
- Constructor with custom message
- Parameters:
message
-
KeystoreException
public KeystoreException(String message,
Exception cause)
- Constructor with custom message
- Parameters:
message
-