Class AuthCodeProxyExceptionHandler
java.lang.Object
io.mosip.kernel.authcodeflowproxy.api.exception.AuthCodeProxyExceptionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> authRestException(jakarta.servlet.http.HttpServletRequest httpServletRequest, AuthRestException exception) org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> clientException(jakarta.servlet.http.HttpServletRequest httpServletRequest, ClientException e) org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> servieException(jakarta.servlet.http.HttpServletRequest httpServletRequest, ServiceException e) org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> servieException(jakarta.servlet.http.HttpServletRequest httpServletRequest, org.springframework.security.authentication.AuthenticationServiceException e)
-
Constructor Details
-
AuthCodeProxyExceptionHandler
public AuthCodeProxyExceptionHandler()
-
-
Method Details
-
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(jakarta.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(jakarta.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(jakarta.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(jakarta.servlet.http.HttpServletRequest httpServletRequest, AuthRestException exception) throws IOException - Throws:
IOException
-