Add constructor parameters to BadDataException

This commit is contained in:
Paul Schaub 2025-09-27 14:58:20 +02:00
parent 4079eaa5a4
commit eaa4e669f8
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 14 additions and 0 deletions

View file

@ -9,4 +9,15 @@ package pgp.certificate_store.exception;
*/
public class BadDataException extends Exception {
public BadDataException(Throwable cause) {
super(cause);
}
public BadDataException(String message, Throwable cause) {
super(message, cause);
}
public BadDataException(String message) {
super(message);
}
}