일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- ubuntu 패스워드
- 자료구조
- O(log n)
- RestControllerAdvice
- 탐욕 알고리즘
- char to int
- git workflow
- Spring
- file i/o
- 스키마 설계
- http 응답코드
- ubuntu passwd
- JAVA 재귀함수
- 배열 탐색
- root passwd
- Spring 예외처리
- mapstruct
- git 설정
- N:N
- 스키마 디자인
- AOP
- REST HTTP API
- Spring MVC
- set-version
- 리눅스 사용권한
- custom exception
- Java
- 함수형 인터페이스
- ubuntu
- 코드스테이츠
Archives
- Today
- Total
목록RestControllerAdvice (1)
개발소설

@ExceptionHandler를 이용한 예외 처리 @ExceptionHandler를 이용한 Controller 레벨에서의 예외 처리 @PostMapping public ResponseEntity postMember(@Valid @RequestBody MemberPostDto memberDto) { Member member = mapper.memberPostDtoToMember(memberDto); Member response = memberService.createMember(member); return new ResponseEntity(mapper.memberToMemberResponseDto(response), HttpStatus.CREATED); } import org.springframework..
Spring Framework
2023. 4. 16. 23:33