Class NarrowedQueryOperationExceptionAdvisor
- java.lang.Object
-
- com.broadleafcommerce.data.tracking.core.web.NarrowedQueryOperationExceptionAdvisor
-
@RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class) public class NarrowedQueryOperationExceptionAdvisor extends Object
Default controller exception handler for problems during narrowed query operations. To override, introduce a new ControllerAdvice annotate class with differing ExceptionHandler annotated methods and annotate the class with a higher precedence Order annotation.- Author:
- Nathan Moore (nathandmoore)
-
-
Constructor Summary
Constructors Constructor Description NarrowedQueryOperationExceptionAdvisor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError>
handleUnsupportedPageableTypeException(Exception ex, org.springframework.web.context.request.WebRequest request)
protected void
logDebug(Exception ex, org.springframework.web.context.request.WebRequest request)
-
-
-
Method Detail
-
handleUnsupportedPageableTypeException
@ExceptionHandler(UnsupportedPageableTypeException.class) public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleUnsupportedPageableTypeException(Exception ex, org.springframework.web.context.request.WebRequest request)
-
logDebug
protected void logDebug(Exception ex, org.springframework.web.context.request.WebRequest request)
-
-