diff --git a/website/templates/features/NonNull.html b/website/templates/features/NonNull.html index b09f0cda..e01a3088 100644 --- a/website/templates/features/NonNull.html +++ b/website/templates/features/NonNull.html @@ -23,7 +23,7 @@
lombok.nonNull.exceptionType = [NullPointerException | IllegalArgumentException | Assertion] (default: NullPointerException).
- When lombok generates a null-check if statement, by default, a java.lang.NullPointerException will be thrown with 'field name is marked @non-null but is null' as the exception message. However, you can use IllegalArgumentException in this configuration key to have lombok throw that exception with this message instead. By using Assertion, an assert statement with the same message will be generated. + When lombok generates a null-check if statement, by default, a java.lang.NullPointerException will be thrown with 'field name is marked non-null but is null' as the exception message. However, you can use IllegalArgumentException in this configuration key to have lombok throw that exception with this message instead. By using Assertion, an assert statement with the same message will be generated.
lombok.nonNull.flagUsage = [warning | error] (default: not set)