javapns.communication.exceptions.InvalidKeystoreReferenceException 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 format.
* @author Sylvain Pedneault
*
*/
@SuppressWarnings("serial")
public class InvalidKeystoreReferenceException extends KeystoreException {
/**
* Constructor
*/
public InvalidKeystoreReferenceException() {
super("Invalid keystore parameter. Must be InputStream, File, String (as a file path), or byte[].");
}
/**
* Constructor with custom message
* @param keystore
*/
public InvalidKeystoreReferenceException(Object keystore) {
super("Invalid keystore parameter (" + keystore + "). Must be InputStream, File, String (as a file path), or byte[].");
}
/**
* Constructor with custom message
* @param message
*/
public InvalidKeystoreReferenceException(String message) {
super(message);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy