javapns.communication.exceptions
Class KeystoreException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
KeystoreException(String message)
          Constructor with custom message
KeystoreException(String message, Exception cause)
          Constructor with custom message
 
Method Summary
 
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

KeystoreException

public KeystoreException(String message)
Constructor with custom message

Parameters:
message -

KeystoreException

public KeystoreException(String message,
                         Exception cause)
Constructor with custom message

Parameters:
message -