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