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
Constructors Constructor Description RegistrationExceptionAdvisor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.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)
-
-
-
Method Detail
-
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)
-
-