Skip to content

Commit

Permalink
[Refactor] 파라미터 타입 불일치에 대한 예외로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
lcj1204 committed Jul 24, 2024
1 parent 9cc2e68 commit 5ab32be
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ public ResponseEntity<Object> handleValidException() {
}

/**
* Progress Converter Exception Handler
* Invalid Parameter Exception Handler
*/
@ExceptionHandler(MethodArgumentTypeMismatchException.class)
public ResponseEntity<Object> handleProgressConverterValidException() {
CustomException exception = CustomException.NONE_PROGRESS_STATUS;
CustomException exception = CustomException.INVALID_PARAMETER;
return ResponseEntity
.status(exception.getStatus().getHttpStatus())
.body(new BaseResponse<>(exception.getStatus()));
Expand Down

0 comments on commit 5ab32be

Please sign in to comment.