
javapns.communication.exceptions.InvalidCertificateChainException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javapns-jdk16 Show documentation
Show all versions of javapns-jdk16 Show documentation
Library to send notifications using APNS
package javapns.communication.exceptions;
/**
* Thrown when we try to contact Apple with an invalid keystore or certificate chain.
* @author Sylvain Pedneault
*
*/
@SuppressWarnings("serial")
public class InvalidCertificateChainException extends KeystoreException {
/**
* Constructor
*/
public InvalidCertificateChainException() {
super("Invalid certificate chain! Verify that the keystore you provided was produced according to specs...");
}
/**
* Constructor with custom message
* @param message
*/
public InvalidCertificateChainException(String message) {
super("Invalid certificate chain (" + message + ")! Verify that the keystore you provided was produced according to specs...");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy