1
2
3
4
5
6
7
8
9
10
11
12
13
14
| package com.sinata.appointment.exception;
|
| import lombok.Getter;
|
| @Getter
| public class BizException extends RuntimeException {
|
| private final int code;
|
| public BizException(int code, String message) {
| super(message);
| this.code = code;
| }
| }
|
|