Class RegistrationExceptionAdvisor
java.lang.Object
com.broadleafcommerce.auth.user.web.endpoint.exception.RegistrationExceptionAdvisor
@RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class)
public class RegistrationExceptionAdvisor
extends Object
- Author:
- Nathan Moore (nathandmoore)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError>
handleClientIdMissingException
(ClientValidationException ex, org.springframework.web.context.request.WebRequest request) org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError>
handleEmbeddedRegistrationNotAllowedException
(EmbeddedRegistrationNotAllowedException ex, org.springframework.web.context.request.WebRequest request)
-
Constructor Details
-
RegistrationExceptionAdvisor
public RegistrationExceptionAdvisor()
-
-
Method Details
-
handleEmbeddedRegistrationNotAllowedException
@ExceptionHandler(EmbeddedRegistrationNotAllowedException.class) public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleEmbeddedRegistrationNotAllowedException(EmbeddedRegistrationNotAllowedException ex, org.springframework.web.context.request.WebRequest request) -
handleClientIdMissingException
@ExceptionHandler(ClientValidationException.class) public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleClientIdMissingException(ClientValidationException ex, org.springframework.web.context.request.WebRequest request)
-