generated from pricelees/issue-pr-template
[#20] 도메인별 예외 분리 #21
@ -6,13 +6,11 @@ import com.fasterxml.jackson.databind.DeserializationContext
|
||||
import com.fasterxml.jackson.databind.JsonNode
|
||||
import com.fasterxml.jackson.databind.deser.std.StdDeserializer
|
||||
import roomescape.payment.web.PaymentCancelResponse
|
||||
import java.io.IOException
|
||||
import java.time.OffsetDateTime
|
||||
|
||||
class PaymentCancelResponseDeserializer(
|
||||
vc: Class<PaymentCancelResponse>? = null
|
||||
) : StdDeserializer<PaymentCancelResponse>(vc) {
|
||||
@Throws(IOException::class)
|
||||
override fun deserialize(
|
||||
jsonParser: JsonParser,
|
||||
deserializationContext: DeserializationContext?
|
||||
|
||||
@ -77,7 +77,6 @@ class TossPaymentClient(
|
||||
}
|
||||
}
|
||||
|
||||
@Throws(IOException::class)
|
||||
private fun handlePaymentError(
|
||||
res: ClientHttpResponse
|
||||
): Nothing {
|
||||
@ -92,7 +91,6 @@ class TossPaymentClient(
|
||||
)
|
||||
}
|
||||
|
||||
@Throws(IOException::class)
|
||||
private fun getErrorResponse(
|
||||
res: ClientHttpResponse
|
||||
): TossPaymentErrorResponse {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user