aboutsummaryrefslogtreecommitdiff
path: root/website/usageExamples
diff options
context:
space:
mode:
authorttzn <ttzn.dev@gmail.com>2021-03-24 23:52:08 +0100
committerttzn <ttzn.dev@gmail.com>2021-03-24 23:52:08 +0100
commitaf16ba23cd46fa3d3b096daa8d725df2b4d78976 (patch)
tree70639ee886b36a8cc1840ecb34c7d839548b46ee /website/usageExamples
parent63ea3db6b7ab41ff945cad1ec8af7f78b5679f66 (diff)
downloadlombok-af16ba23cd46fa3d3b096daa8d725df2b4d78976.tar.gz
lombok-af16ba23cd46fa3d3b096daa8d725df2b4d78976.tar.bz2
lombok-af16ba23cd46fa3d3b096daa8d725df2b4d78976.zip
@StandardException feature working draft
* move feature under experimental * replace ProviderFor with Provides * add doc material (to be completed) * add author
Diffstat (limited to 'website/usageExamples')
-rw-r--r--website/usageExamples/StandardExceptionExample_post.jpage16
-rw-r--r--website/usageExamples/StandardExceptionExample_pre.jpage5
2 files changed, 21 insertions, 0 deletions
diff --git a/website/usageExamples/StandardExceptionExample_post.jpage b/website/usageExamples/StandardExceptionExample_post.jpage
new file mode 100644
index 00000000..148603a9
--- /dev/null
+++ b/website/usageExamples/StandardExceptionExample_post.jpage
@@ -0,0 +1,16 @@
+public class ExampleException extends Exception {
+ public ExampleException() {
+ }
+
+ public ExampleException(String message) {
+ super(message);
+ }
+
+ public ExampleException(Throwable cause) {
+ super(cause);
+ }
+
+ public ExampleException(String message, Throwable cause) {
+ super(message, cause);
+ }
+} \ No newline at end of file
diff --git a/website/usageExamples/StandardExceptionExample_pre.jpage b/website/usageExamples/StandardExceptionExample_pre.jpage
new file mode 100644
index 00000000..8d85286c
--- /dev/null
+++ b/website/usageExamples/StandardExceptionExample_pre.jpage
@@ -0,0 +1,5 @@
+import lombok.experimental.StandardException;
+
+@StandardException
+public class ExampleException extends Exception {
+} \ No newline at end of file