Class TabbyExceptionAdvisor

java.lang.Object
com.broadleafcommerce.tabby.web.endpoint.exception.TabbyExceptionAdvisor

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

    • TabbyExceptionAdvisor

      public TabbyExceptionAdvisor()
  • Method Details

    • handleTabbyPreScoringApiException

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

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