aboutsummaryrefslogtreecommitdiff
path: root/website/usageExamples
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 /website/usageExamples
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 '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