All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javapns.communication.exceptions.InvalidCertificateChainException Maven / Gradle / Ivy

Go to download

JavaPNS branch with refactoring of org.json package to a javapns.json pacakge

The newest version!
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 - 2024 Weber Informatics LLC | Privacy Policy