aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/ConfigurationKeys.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-04-16 03:30:34 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-04-16 03:30:34 +0200
commit2e212de523407c8d9f4471fea573c6c70164513b (patch)
tree4bb0efca73cbde19fc6b7f7d3063085ef799845d /src/core/lombok/ConfigurationKeys.java
parent9e52cf0947db302375a910d5d32e39e41656d96e (diff)
parentaf16ba23cd46fa3d3b096daa8d725df2b4d78976 (diff)
downloadlombok-2e212de523407c8d9f4471fea573c6c70164513b.tar.gz
lombok-2e212de523407c8d9f4471fea573c6c70164513b.tar.bz2
lombok-2e212de523407c8d9f4471fea573c6c70164513b.zip
Merge branch 'standard-exception' of git://github.com/ttzn/lombok into ttzn-standard-exception
Diffstat (limited to 'src/core/lombok/ConfigurationKeys.java')
-rw-r--r--src/core/lombok/ConfigurationKeys.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/lombok/ConfigurationKeys.java b/src/core/lombok/ConfigurationKeys.java
index ba66649b..b8cd442a 100644
--- a/src/core/lombok/ConfigurationKeys.java
+++ b/src/core/lombok/ConfigurationKeys.java
@@ -695,4 +695,10 @@ public class ConfigurationKeys {
*/
public static final ConfigurationKey<CheckerFrameworkVersion> CHECKER_FRAMEWORK = new ConfigurationKey<CheckerFrameworkVersion>("checkerframework", "If set with the version of checkerframework.org (in major.minor, or just 'true' for the latest supported version), create relevant checkerframework.org annotations for code lombok generates (default: false).") {};
+ /**
+ * lombok configuration: {@code lombok.standardException.flagUsage} = {@code WARNING} | {@code ERROR}.
+ *
+ * If set, <em>any</em> usage of {@code @StandardException} results in a warning / error.
+ */
+ public static final ConfigurationKey<FlagUsageType> STANDARD_EXCEPTION_FLAG_USAGE = new ConfigurationKey<FlagUsageType>("lombok.standardException.flagUsage", "Emit a warning or error if @StandardException is used.") {};
}