mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 14:16:11 +00:00
Changed the lombok.nonNull.exceptionType configkey to be an enum, partly to enforce only sensible exceptions and partly to make it possible to have the message be ‘x is null’ when throwing IAEs.
This commit is contained in:
1 parent
4b878f9ba9
commit
713822db98
16 files changed
+169
-79
No files matched your search
@@ -1,4 +1,4 @@
|
||||
//CONF: lombok.nonNull.exceptionType = java.lang.IllegalArgumentException
|
||||
//CONF: lombok.nonNull.exceptionType = IllegalArgumentException
|
||||
|
||||
public class NonNullWithAlternateException {
|
||||
@lombok.NonNull @lombok.Setter private String test;
|
||||
|
||||
Reference in new issue
Block a user