@RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class) public class RegistrationExceptionAdvisor extends Object
Constructor and Description |
---|
RegistrationExceptionAdvisor() |
Modifier and Type | Method and 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) |
@ExceptionHandler(value=EmbeddedRegistrationNotAllowedException.class) public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleEmbeddedRegistrationNotAllowedException(EmbeddedRegistrationNotAllowedException ex, org.springframework.web.context.request.WebRequest request)
@ExceptionHandler(value=ClientValidationException.class) public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleClientIdMissingException(ClientValidationException ex, org.springframework.web.context.request.WebRequest request)
Copyright © 2021. All rights reserved.