Class AuthCodeProxyExceptionHandler
- java.lang.Object
-
- io.mosip.kernel.authcodeflowproxy.api.exception.AuthCodeProxyExceptionHandler
-
@RestControllerAdvice @Order(-2147483648) public class AuthCodeProxyExceptionHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description AuthCodeProxyExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>>authRestException(javax.servlet.http.HttpServletRequest httpServletRequest, AuthRestException exception)org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>>clientException(javax.servlet.http.HttpServletRequest httpServletRequest, ClientException e)org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>>servieException(javax.servlet.http.HttpServletRequest httpServletRequest, ServiceException e)
-
-
-
Method Detail
-
clientException
@ExceptionHandler(ClientException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> clientException(javax.servlet.http.HttpServletRequest httpServletRequest, ClientException e) throws IOException
- Throws:
IOException
-
servieException
@ExceptionHandler(ServiceException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> servieException(javax.servlet.http.HttpServletRequest httpServletRequest, ServiceException e) throws IOException
- Throws:
IOException
-
authRestException
@ExceptionHandler(AuthRestException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> authRestException(javax.servlet.http.HttpServletRequest httpServletRequest, AuthRestException exception) throws IOException
- Throws:
IOException
-
-