diff options
author | ttzn <ttzn.dev@gmail.com> | 2021-03-24 23:52:08 +0100 |
---|---|---|
committer | ttzn <ttzn.dev@gmail.com> | 2021-03-24 23:52:08 +0100 |
commit | af16ba23cd46fa3d3b096daa8d725df2b4d78976 (patch) | |
tree | 70639ee886b36a8cc1840ecb34c7d839548b46ee /website/usageExamples | |
parent | 63ea3db6b7ab41ff945cad1ec8af7f78b5679f66 (diff) | |
download | lombok-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.jpage | 16 | ||||
-rw-r--r-- | website/usageExamples/StandardExceptionExample_pre.jpage | 5 |
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 |