Skip to content

Commit

Permalink
♿ :: (#15) update BusinessException.java access-level
Browse files Browse the repository at this point in the history
  • Loading branch information
iqpizza6349 committed Feb 26, 2023
1 parent ea856f3 commit 7902432
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ public abstract class BusinessException extends RuntimeException {
private final int code;
private final String message;

public BusinessException(int code, String message) {
protected BusinessException(int code, String message) {
super(message);
this.code = code;
this.message = message;
}

public BusinessException(int code, String message, Throwable cause) {
protected BusinessException(int code, String message, Throwable cause) {
super(message, cause);
this.code = code;
this.message = message;
}

public BusinessException(int code, Throwable cause) {
protected BusinessException(int code, Throwable cause) {
super(cause);
this.code = code;
this.message = cause.getMessage();
Expand Down

0 comments on commit 7902432

Please sign in to comment.