Class ServiceExceptionHandler
java.lang.Object
it.gov.pagopa.common.web.exception.ServiceExceptionHandler
-
Constructor Summary
ConstructorsConstructorDescriptionServiceExceptionHandler(ErrorManager errorManager, Map<Class<? extends ServiceException>, org.springframework.http.HttpStatus> transcodeMap) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.http.ResponseEntity<? extends ServiceExceptionPayload> handleException(ServiceException error, org.springframework.http.server.reactive.ServerHttpRequest request)
-
Constructor Details
-
ServiceExceptionHandler
public ServiceExceptionHandler(ErrorManager errorManager, Map<Class<? extends ServiceException>, org.springframework.http.HttpStatus> transcodeMap)
-
-
Method Details
-
handleException
@ExceptionHandler(ServiceException.class) protected org.springframework.http.ResponseEntity<? extends ServiceExceptionPayload> handleException(ServiceException error, org.springframework.http.server.reactive.ServerHttpRequest request)
-