Skip to content

Commit fd3bb3b

Browse files
committed
Add missing constructors to BaseException
1 parent 43e0f9e commit fd3bb3b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/com/github/stickerifier/stickerify/exception/BaseException.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,18 @@
33
import org.slf4j.helpers.MessageFormatter;
44

55
public class BaseException extends Exception {
6+
public BaseException(String message) {
7+
super(message);
8+
}
9+
610
public BaseException(Throwable cause) {
711
super(cause);
812
}
913

14+
public BaseException(String message, Throwable cause) {
15+
super(message, cause);
16+
}
17+
1018
/**
1119
* Creates an exception with a parameterized message: each {@code {}}
1220
* will be replaced with the corresponding element in {@code parameters}.

0 commit comments

Comments
 (0)