Skip to content

Commit 6e41ff2

Browse files
committed
refactor: 예외 명시
1 parent 8e50902 commit 6e41ff2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/somemore/notification/converter/MessageConverter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.somemore.notification.converter;
22

33
import com.fasterxml.jackson.core.JsonProcessingException;
4+
import com.fasterxml.jackson.databind.JsonMappingException;
45
import com.fasterxml.jackson.databind.JsonNode;
56
import com.fasterxml.jackson.databind.ObjectMapper;
67
import com.somemore.facade.event.VolunteerReviewRequestEvent;
@@ -46,7 +47,7 @@ private Notification buildVolunteerReviewRequestNotification(String message) thr
4647
.build();
4748
}
4849

49-
private Notification buildVolunteerApplyStatusChangeNotification(String message) throws Exception {
50+
private Notification buildVolunteerApplyStatusChangeNotification(String message) throws JsonProcessingException {
5051
VolunteerApplyStatusChangeEvent event = objectMapper.readValue(message, VolunteerApplyStatusChangeEvent.class);
5152

5253
return Notification.builder()

0 commit comments

Comments
 (0)