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

com.ingenico.direct.webhooks.SecretKeyNotAvailableException Maven / Gradle / Ivy

package com.ingenico.direct.webhooks;

/**
 * Represents an error that causes a secret key to not be available.
 */
@SuppressWarnings("serial")
public class SecretKeyNotAvailableException extends SignatureValidationException {

	private final String keyId;

	public SecretKeyNotAvailableException(String message, String keyId) {
		super(message);
		this.keyId = keyId;
	}

	public SecretKeyNotAvailableException(String keyId, Throwable cause) {
		super(cause);
		this.keyId = keyId;
	}

	public SecretKeyNotAvailableException(String message, String keyId, Throwable cause) {
		super(message, cause);
		this.keyId = keyId;
	}

	public String getKeyId() {
		return keyId;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy