오류응답 처리 수정

This commit is contained in:
curry772
2026-06-17 13:54:08 +09:00
parent cf8756053e
commit fef16d1b99
2 changed files with 13 additions and 6 deletions
@@ -41,6 +41,12 @@ public class HttpStatusException extends Exception {
this.status = status;
}
public HttpStatusException(String msg, String code, int status, Throwable cause) {
super(msg, cause);
this.setCode(code);
this.status = status;
}
public int getStatus() {
return status;
}