Class AnonymizationNotSupportedExceptionAdvisor

java.lang.Object
com.broadleafcommerce.common.privacy.anonymization.AnonymizationNotSupportedExceptionAdvisor

@RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class) public class AnonymizationNotSupportedExceptionAdvisor extends Object
Handle the anonymization not supported exception to return a 404 status response.
  • Constructor Details

    • AnonymizationNotSupportedExceptionAdvisor

      public AnonymizationNotSupportedExceptionAdvisor()
  • Method Details

    • handleEntityMissingException

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

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