Commit a585656
authored
## 📌 관련 이슈
- close #79
## ✨ 변경 사항
- `NoResourceFoundException` 핸들링 추가
- `HttpRequestMethodNotSupportedException` 핸들링 추가
## 📸 테스트 증명 (필수)
<img width="325" height="98" alt="스크린샷 2026-03-27 오후 2 39 23"
src="https://github.com/user-attachments/assets/6d5fec48-e37d-4493-9725-2ba36b443516"
/>
<img width="347" height="99" alt="스크린샷 2026-03-27 오후 2 39 31"
src="https://github.com/user-attachments/assets/9f186fdd-3530-4107-a902-d0b7a30d582c"
/>
## 📚 리뷰어 참고 사항
-
## ✅ 체크리스트
- [x] 브랜치 전략(git flow)을 따랐나요?
- [x] 로컬에서 빌드 및 실행이 정상적으로 되나요?
- [x] 불필요한 주석이나 더미 코드는 제거했나요?
- [x] 컨벤션(커밋 메시지, 코드 스타일)을 지켰나요?
- [x] spotlessApply 실행했나요?
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Release Notes
* **Improvements**
* Enhanced error handling with clearer messages when requested resources
cannot be found.
* Improved error responses for unsupported HTTP request methods.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 187176a commit a585656
File tree
2 files changed
+33
-0
lines changed- src/main/java/com/swyp/server/global/exception
2 files changed
+33
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
110 | 141 | | |
111 | 142 | | |
112 | 143 | | |
| |||
0 commit comments