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<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>>authRestException(javax.servlet.http.HttpServletRequest httpServletRequest, AuthRestException exception)org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>>clientException(javax.servlet.http.HttpServletRequest httpServletRequest, ClientException e)org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>>servieException(javax.servlet.http.HttpServletRequest httpServletRequest, ServiceException e)org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>>servieException(javax.servlet.http.HttpServletRequest httpServletRequest, org.springframework.security.authentication.AuthenticationServiceException e)
-
-
-
Method Detail
-
clientException
@ExceptionHandler(io.mosip.kernel.openid.bridge.api.exception.ClientException.class) public org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> clientException(javax.servlet.http.HttpServletRequest httpServletRequest, ClientException e) throws IOException
- Throws:
IOException
-
servieException
@ExceptionHandler(io.mosip.kernel.openid.bridge.api.exception.ServiceException.class) public org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> servieException(javax.servlet.http.HttpServletRequest httpServletRequest, ServiceException e) throws IOException
- Throws:
IOException
-
servieException
@ExceptionHandler(org.springframework.security.authentication.AuthenticationServiceException.class) public org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> servieException(javax.servlet.http.HttpServletRequest httpServletRequest, org.springframework.security.authentication.AuthenticationServiceException e) throws IOException- Throws:
IOException
-
authRestException
@ExceptionHandler(io.mosip.kernel.openid.bridge.api.exception.AuthRestException.class) public org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> authRestException(javax.servlet.http.HttpServletRequest httpServletRequest, AuthRestException exception) throws IOException
- Throws:
IOException
-
-