Package io.dialob.service.common.rest
Class ServiceExceptionMapper
- java.lang.Object
-
- io.dialob.service.common.rest.ServiceExceptionMapper
-
@ControllerAdvice public class ServiceExceptionMapper extends Object
-
-
Constructor Summary
Constructors Constructor Description ServiceExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntityserviceException(AccessDeniedServiceException exception)org.springframework.http.ResponseEntityserviceException(InvalidCallServiceException exception)org.springframework.http.ResponseEntityserviceException(NotFoundServiceException exception)org.springframework.http.ResponseEntityserviceException(ServiceDownServiceException exception)org.springframework.http.ResponseEntityserviceException(UpdateConflictServiceException exception)
-
-
-
Method Detail
-
serviceException
@ExceptionHandler public org.springframework.http.ResponseEntity serviceException(NotFoundServiceException exception)
-
serviceException
@ExceptionHandler public org.springframework.http.ResponseEntity serviceException(AccessDeniedServiceException exception)
-
serviceException
@ExceptionHandler public org.springframework.http.ResponseEntity serviceException(UpdateConflictServiceException exception)
-
serviceException
@ExceptionHandler public org.springframework.http.ResponseEntity serviceException(ServiceDownServiceException exception)
-
serviceException
@ExceptionHandler public org.springframework.http.ResponseEntity serviceException(InvalidCallServiceException exception)
-
-