diff options
author | Roel Spilker <r.spilker@gmail.com> | 2019-03-26 00:11:51 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2019-03-26 00:11:51 +0100 |
commit | 65b285b0b5f850ef587f52e134c29eabd4a580ae (patch) | |
tree | d1d607ff4b6bb50c6178345814ff16cc1e3512d4 | |
parent | 4e7414038ad9df25fb6d2ee76dd22421e1ff7005 (diff) | |
download | lombok-65b285b0b5f850ef587f52e134c29eabd4a580ae.tar.gz lombok-65b285b0b5f850ef587f52e134c29eabd4a580ae.tar.bz2 lombok-65b285b0b5f850ef587f52e134c29eabd4a580ae.zip |
typo
-rw-r--r-- | website/templates/features/NonNull.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <dt> <code>lombok.nonNull.exceptionType</code> = [<code>NullPointerException</code> | <code>IllegalArgumentException</code> | <code>Assertion</code>] (default: <code>NullPointerException</code>). </dt><dd> - When lombok generates a null-check <code>if</code> statement, by default, a <code>java.lang.NullPointerException</code> will be thrown with '<em>field name</em> is marked @non-null but is null' as the exception message. However, you can use <code>IllegalArgumentException</code> in this configuration key to have lombok throw that exception with this message instead. By using <code>Assertion</code>, an <code>assert</code> statement with the same message will be generated. + When lombok generates a null-check <code>if</code> statement, by default, a <code>java.lang.NullPointerException</code> will be thrown with '<em>field name</em> is marked non-null but is null' as the exception message. However, you can use <code>IllegalArgumentException</code> in this configuration key to have lombok throw that exception with this message instead. By using <code>Assertion</code>, an <code>assert</code> statement with the same message will be generated. </dd><dt> <code>lombok.nonNull.flagUsage</code> = [<code>warning</code> | <code>error</code>] (default: not set) </dt><dd> |