...
|
...
|
@@ -23,6 +23,11 @@ public class CustomException extends RuntimeException { |
|
|
this.message = message;
|
|
|
}
|
|
|
|
|
|
public CustomException(CustomExceptionType exceptionTypeEnum) {
|
|
|
this.code = exceptionTypeEnum.getCode();
|
|
|
this.message = exceptionTypeEnum.getMsg();
|
|
|
}
|
|
|
|
|
|
public String getCode() {
|
|
|
return code;
|
|
|
}
|
...
|
...
|
|