aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/StandardExceptions.java
blob: d60fcaf21dcd652084cb16c3a5bb322585bffada (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
35
36
class EmptyException extends Exception {
	@java.lang.SuppressWarnings("all")
	public EmptyException() {
		this(null, null);
	}
	@java.lang.SuppressWarnings("all")
	public EmptyException(final java.lang.String message) {
		this(message, null);
	}
	@java.lang.SuppressWarnings("all")
	public EmptyException(final java.lang.Throwable cause) {
		this(cause != null ? cause.getMessage() : null, cause);
	}
	@java.lang.SuppressWarnings("all")
	public EmptyException(final java.lang.String message, final java.lang.Throwable cause) {
		super(message);
		if (cause != null) super.initCause(cause);
	}
}
class NoArgsException extends Exception {
	public NoArgsException() {
	}
	@java.lang.SuppressWarnings("all")
	protected NoArgsException(final java.lang.String message) {
		this(message, null);
	}
	@java.lang.SuppressWarnings("all")
	protected NoArgsException(final java.lang.Throwable cause) {
		this(cause != null ? cause.getMessage() : null, cause);
	}
	@java.lang.SuppressWarnings("all")
	protected NoArgsException(final java.lang.String message, final java.lang.Throwable cause) {
		super(message);
		if (cause != null) super.initCause(cause);
	}
}