Class ContextExceptionAdvisor
java.lang.Object
com.broadleafcommerce.data.tracking.core.web.ContextExceptionAdvisor
@RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class)
public class ContextExceptionAdvisor
extends Object
Exception handler for validation problems in the context request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError>
handleInvalidContextRequestException
(InvalidContextRequestException ex, org.springframework.web.context.request.WebRequest request) protected void
-
Constructor Details
-
ContextExceptionAdvisor
public ContextExceptionAdvisor()
-
-
Method Details
-
handleInvalidContextRequestException
@ExceptionHandler(InvalidContextRequestException.class) public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleInvalidContextRequestException(InvalidContextRequestException ex, org.springframework.web.context.request.WebRequest request) -
logDebug
-