[pr 2702] finishing the @StandardException feature.

* rewritten how it works a bit: Now compatible with parent exceptions that don't have the Throwable variants.
* rewritten how it works a bit: You can now provide the full constructor only; the rest will forward to it.
* fixing up style.
* rewrite the docs.
This commit is contained in:
Reinier Zwitserloot committed 2021-04-16 06:40:35 +02:00
1 parent 2e212de523
commit 415e303ac2
11 files changed
+330 -265

No files matched your search

@@ -1,8 +1,9 @@
import lombok.AccessLevel;
import lombok.experimental.StandardException;
@StandardException class EmptyException extends Exception {
}
@StandardException class NoArgsException extends Exception {
@StandardException(access = AccessLevel.PROTECTED) class NoArgsException extends Exception {
public NoArgsException() {
}
}