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 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)
    • getExceptionHandlerUtils

      protected com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils getExceptionHandlerUtils()
    • setExceptionHandlerUtils

      @Autowired public void setExceptionHandlerUtils(com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils exceptionHandlerUtils)