Class TenantExceptionAdvisor
java.lang.Object
com.broadleafcommerce.tenant.web.endpoint.exception.TenantExceptionAdvisor
@RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class)
public class TenantExceptionAdvisor
extends Object
- Author:
- Nick Crum (ncrum)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError>
handleTenantResolverMissingParameterException
(TenantResolverMissingParameterException ex, org.springframework.web.context.request.WebRequest request) protected void
-
Constructor Details
-
TenantExceptionAdvisor
public TenantExceptionAdvisor()
-
-
Method Details
-
handleTenantResolverMissingParameterException
@ExceptionHandler(TenantResolverMissingParameterException.class) public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleTenantResolverMissingParameterException(TenantResolverMissingParameterException ex, org.springframework.web.context.request.WebRequest request) -
logDebug
-