Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Exception
- transaction
- 인프런
- JDBC
- SpringBoot
- pointcut
- AOP
- kotlin
- Android
- QueryDSL
- jpa
- 스프링
- 그리디
- 백준
- 자바
- java
- Thymeleaf
- 알고리즘
- Spring Boot
- 스프링 핵심 기능
- http
- springdatajpa
- db
- JPQL
- Greedy
- 스프링 핵심 원리
- Servlet
- 김영한
- Proxy
- spring
Archives
- Today
- Total
목록global 처리 (1)
개발자되기 프로젝트
예외처리: Controleller Advice
[API예외] @ControllerAdvice @ExceptionHandler 를 사용해서 예외를 깔끔하게 처리할 수 있게 되었지만, 정상 코드와 예외 처리 코드가 하나의 컨트롤러에 섞여 있다. @ControllerAdvice 또는 @RestControllerAdvice 를 사용하면.. bsh-developer.tistory.com @ControllerAdvice는 Controller에서 발생하는 Exception을 어떻게 처리할지 따로 분류해서 관리할 수 있도록 도와줌. 말 그대로 Controller에 대한 Advice이다. 아래와 같이 IndexOutOfBounds Exception이 무조건 발생하는 Controller가 있다고 해보자. @RestController @RequestMapping("/a..
인프런/[인프런] Kotlin으로 개발하는 Spring Boot Web MVC
2022. 4. 25. 22:35