mirror of
https://codeberg.org/PGPainless/cert-d-java.git
synced 2025-12-05 04:41:08 +01:00
Deprecate exception constructors without arguments
This commit is contained in:
parent
b471b7cc8d
commit
b9083c4394
2 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ package pgp.certificate_store.exception;
|
||||||
*/
|
*/
|
||||||
public class BadNameException extends Exception {
|
public class BadNameException extends Exception {
|
||||||
|
|
||||||
|
@Deprecated // pass message
|
||||||
public BadNameException() {
|
public BadNameException() {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ package pgp.certificate_store.exception;
|
||||||
*/
|
*/
|
||||||
public class NotAStoreException extends Exception {
|
public class NotAStoreException extends Exception {
|
||||||
|
|
||||||
|
@Deprecated // pass message
|
||||||
public NotAStoreException() {
|
public NotAStoreException() {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue