aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/NonNullWithSneakyThrows.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-06-04 23:55:13 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-06-04 23:55:13 +0200
commita0b901c3c04d0377f495a9da853196a3b0433eae (patch)
tree58e3e3ca4b3954e4e5eedd856cfc44d02381fa2b /test/transform/resource/after-delombok/NonNullWithSneakyThrows.java
parent198efc1b279060beba836663b802923b8d53b2ec (diff)
downloadlombok-a0b901c3c04d0377f495a9da853196a3b0433eae.tar.gz
lombok-a0b901c3c04d0377f495a9da853196a3b0433eae.tar.bz2
lombok-a0b901c3c04d0377f495a9da853196a3b0433eae.zip
`@NonNull` now uses a slightly longer exception message.
Diffstat (limited to 'test/transform/resource/after-delombok/NonNullWithSneakyThrows.java')
-rw-r--r--test/transform/resource/after-delombok/NonNullWithSneakyThrows.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/NonNullWithSneakyThrows.java b/test/transform/resource/after-delombok/NonNullWithSneakyThrows.java
index 97de0d8a..5000f16d 100644
--- a/test/transform/resource/after-delombok/NonNullWithSneakyThrows.java
+++ b/test/transform/resource/after-delombok/NonNullWithSneakyThrows.java
@@ -2,7 +2,7 @@ class NonNullWithSneakyThrows {
void test(@lombok.NonNull String in) {
try {
if (in == null) {
- throw new java.lang.NullPointerException("in");
+ throw new java.lang.NullPointerException("in is marked @NonNull but is null");
}
System.out.println(in);
} catch (final java.lang.Throwable $ex) {