diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-06-04 23:55:13 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-06-04 23:55:13 +0200 |
commit | a0b901c3c04d0377f495a9da853196a3b0433eae (patch) | |
tree | 58e3e3ca4b3954e4e5eedd856cfc44d02381fa2b /website/usageExamples | |
parent | 198efc1b279060beba836663b802923b8d53b2ec (diff) | |
download | lombok-a0b901c3c04d0377f495a9da853196a3b0433eae.tar.gz lombok-a0b901c3c04d0377f495a9da853196a3b0433eae.tar.bz2 lombok-a0b901c3c04d0377f495a9da853196a3b0433eae.zip |
`@NonNull` now uses a slightly longer exception message.
Diffstat (limited to 'website/usageExamples')
-rw-r--r-- | website/usageExamples/NonNullExample_post.jpage | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/usageExamples/NonNullExample_post.jpage b/website/usageExamples/NonNullExample_post.jpage index 24175e06..bb67b3f6 100644 --- a/website/usageExamples/NonNullExample_post.jpage +++ b/website/usageExamples/NonNullExample_post.jpage @@ -6,7 +6,7 @@ public class NonNullExample extends Something { public NonNullExample(@NonNull Person person) { super("Hello"); if (person == null) { - throw new NullPointerException("person"); + throw new NullPointerException("person is marked @NonNull but is null"); } this.name = person.getName(); } |