채팅 기능의 예외 상황 처리 및 발생할 수 있는 예외 클래스 핸들링 #212
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR의 목적이 무엇인가요?
이슈 ID는 무엇인가요?
설명
만약
@RequestParam
을 사용하였다면 기본적으로required = true
옵션이 걸려있습니다.이 경우
MissingServletRequestParameterException
예외 클래스가 던져지는데 이를 핸들링하여 우리의 에러 응답을 반환하도록 하였어요.그리고 채팅 조회 시 파라미터의 예외를 처리하였습니다.
모임에 참여하지 않는 회원일 때 채팅을 보내는 / 조회하는 예외를 처리함.
질문 혹은 공유 사항 (Optional)