aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/StandardExceptions.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/StandardExceptions.java')
-rw-r--r--test/transform/resource/after-ecj/StandardExceptions.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/StandardExceptions.java b/test/transform/resource/after-ecj/StandardExceptions.java
new file mode 100644
index 00000000..a26a16f7
--- /dev/null
+++ b/test/transform/resource/after-ecj/StandardExceptions.java
@@ -0,0 +1,34 @@
+import lombok.AccessLevel;
+import lombok.experimental.StandardException;
+@StandardException class EmptyException extends Exception {
+ public @java.lang.SuppressWarnings("all") EmptyException() {
+ this(null, null);
+ }
+ public @java.lang.SuppressWarnings("all") EmptyException(final java.lang.String message) {
+ this(message, null);
+ }
+ public @java.lang.SuppressWarnings("all") EmptyException(final java.lang.Throwable cause) {
+ this(((cause != null) ? cause.getMessage() : null), cause);
+ }
+ public @java.lang.SuppressWarnings("all") EmptyException(final java.lang.String message, final java.lang.Throwable cause) {
+ super(message);
+ if ((cause != null))
+ super.initCause(cause);
+ }
+}
+@StandardException(access = AccessLevel.PROTECTED) class NoArgsException extends Exception {
+ public NoArgsException() {
+ super();
+ }
+ protected @java.lang.SuppressWarnings("all") NoArgsException(final java.lang.String message) {
+ this(message, null);
+ }
+ protected @java.lang.SuppressWarnings("all") NoArgsException(final java.lang.Throwable cause) {
+ this(((cause != null) ? cause.getMessage() : null), cause);
+ }
+ protected @java.lang.SuppressWarnings("all") NoArgsException(final java.lang.String message, final java.lang.Throwable cause) {
+ super(message);
+ if ((cause != null))
+ super.initCause(cause);
+ }
+} \ No newline at end of file