Deprecate exception constructors without arguments

This commit is contained in:
Paul Schaub 2025-09-29 13:44:57 +02:00
parent b471b7cc8d
commit b9083c4394
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@ package pgp.certificate_store.exception;
*/
public class BadNameException extends Exception {
@Deprecated // pass message
public BadNameException() {
super();
}

View file

@ -9,6 +9,7 @@ package pgp.certificate_store.exception;
*/
public class NotAStoreException extends Exception {
@Deprecated // pass message
public NotAStoreException() {
super();
}