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 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

      protected void logDebug(Exception ex, org.springframework.web.context.request.WebRequest request)