Class EntityMissingExceptionAdvisor


  • @RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class)
    public class EntityMissingExceptionAdvisor
    extends Object
    Handle the entity missing exception to return a 404 status response.
    • Constructor Detail

      • EntityMissingExceptionAdvisor

        public EntityMissingExceptionAdvisor()
    • Method Detail

      • handleEntityMissingException

        @ExceptionHandler(EntityMissingException.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)