Class DataFeedExceptionAdvisor

java.lang.Object
com.broadleafcommerce.datafeed.web.exception.DataFeedExceptionAdvisor

@RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class) public class DataFeedExceptionAdvisor extends Object
General exception handler registry for handlers not exclusive to a single controller.
Author:
Dima Myroniuk (dmyroniuk)
  • Constructor Details

    • DataFeedExceptionAdvisor

      public DataFeedExceptionAdvisor()
  • Method Details

    • handleInvalidApplicationIdParameterException

      @ExceptionHandler public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleInvalidApplicationIdParameterException(InvalidApplicationIdParameterException ex, org.springframework.web.context.request.WebRequest request)
    • logDebug

      @Deprecated(forRemoval=true) protected void logDebug(Exception ex, org.springframework.web.context.request.WebRequest request)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deprecated in favor of central logging managed by ExceptionHandlerUtils.
    • getExceptionHandlerUtils

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

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