BadDataException: Pass in throwable cause/message

This commit is contained in:
Paul Schaub 2025-09-29 13:39:58 +02:00
parent b4683292f8
commit 9d85141f32
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
3 changed files with 17 additions and 8 deletions

View file

@ -9,6 +9,11 @@ package pgp.certificate_store.exception;
*/
public class BadDataException extends Exception {
@Deprecated // pass cause and/or message
public BadDataException() {
super();
}
public BadDataException(Throwable cause) {
super(cause);
}