From a0b901c3c04d0377f495a9da853196a3b0433eae Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 4 Jun 2018 23:55:13 +0200 Subject: `@NonNull` now uses a slightly longer exception message. --- website/usageExamples/NonNullExample_post.jpage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'website/usageExamples') 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(); } -- cgit