aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/StandardExceptions.java
blob: a26a16f79042512d78d428c17c2821921950b714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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);
  }
}