Notice
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- awssecretsmanagerpropertysources
- SpringMVC
- asyncconfigurer
- spring
- java.util.list
- spring MVC
- map
- list
- HashMap
- jpa
- java
- Sleuth
- asynccustomautoconfiguration
- java list
- ResponseBody
- elasticsearch
- traceId
- java lambda
- EnableWebMvc
- spring3 spring2 traceid
- kotlin
- @FunctionalInterface
- b3-propagation
- Spring JPA
- traceasynccustomautoconfiguration
- DeferredImportSelector
- micrometer tracing
- Spring Boot
- CompletableFuture
- aws secretmanager
Archives
- Today
- Total
목록exceptionHandler (1)
du.study기록공간
[Spring MVC] Exeption 처리방법 - @ControllerAdvice, @ExceptionHandler
저번 Exeption처리 방법으로 AbstractHandlerExceptionResolver를 사용하는 방법으로 포스팅을 한 적이 있습니다. 관련 글 : https://duooo-story.tistory.com/15 이번에는 @ControllerAdvice, @ExceptionHandler 를 사용한 Exception방법에 대해서 기록하려 합니다. 먼저 @ControllerAdvice 는 전역 컨트롤러로 불러며, 컨트롤러 공통적으로 사용할 것이 있을때, 해당 어노테이션을 사용할 수 있습니다. 예를 들면 다음과 같은 상황에서 사용할 수 있습니다. 1. Exception 처리 2. @InitBinder를 이용한 설정세팅 ( 이전 포스팅에서 언급한 적이 있지만, 너무 다양한 기능을 지원해주기에 추후에 포스팅으..
스프링
2019. 11. 19. 23:24