pgpainless/src/main/java/de/vanitasvitae/crypto/pgpainless/SecretKeyNotFoundException....

18 lines
433 B
Java
Raw Normal View History

2018-06-04 19:45:18 +02:00
package de.vanitasvitae.crypto.pgpainless;
public class SecretKeyNotFoundException extends Exception {
private static final long serialVersionUID = 1L;
private final long keyId;
public SecretKeyNotFoundException(long keyId) {
super("No PGPSecretKey with id " + Long.toHexString(keyId) + " (" + keyId + ") found.");
this.keyId = keyId;
}
public long getKeyId() {
return keyId;
}
}