Class DataExchangeExceptionAdvisor
java.lang.Object
com.broadleafcommerce.dataexchange.web.endpoint.DataExchangeExceptionAdvisor
@RestControllerAdvice(basePackages="com.broadleafcommerce.dataexchange.web.endpoint")
public class DataExchangeExceptionAdvisor
extends Object
Handles data exchange specific exceptions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError>
org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError>
-
Constructor Details
-
DataExchangeExceptionAdvisor
public DataExchangeExceptionAdvisor()
-
-
Method Details
-
handleDataExchangeException
@ExceptionHandler(DataExchangeException.class) public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleDataExchangeException(DataExchangeException e) -
handleDataExchangeBadRequestException
@ExceptionHandler(DataExchangeBadRequestException.class) public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleDataExchangeBadRequestException(DataExchangeBadRequestException e)
-