@RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class) public class ContextExceptionAdvisor extends Object
Constructor and Description |
---|
ContextExceptionAdvisor() |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> |
handleInvalidContextRequestException(InvalidContextRequestException ex,
org.springframework.web.context.request.WebRequest request) |
protected void |
logDebug(Exception ex,
org.springframework.web.context.request.WebRequest request) |
@ExceptionHandler(value=InvalidContextRequestException.class) public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleInvalidContextRequestException(InvalidContextRequestException ex, org.springframework.web.context.request.WebRequest request)
protected void logDebug(Exception ex, org.springframework.web.context.request.WebRequest request)
Copyright © 2021. All rights reserved.