Skip to content
Snippets Groups Projects

Create Exception classes for Product and Price services

This PR creates concrete exception classes for SoapProductService and SoapPriceService and wraps the SOAP calls in try/catch blocks. We now catch and rethrow UnsupportedCurrencyExceptions for the Product and Price services, and for the Product service, we catch generic exceptions and rethrow them as either a ProductServiceCreateException or ProductServiceUpdateException. This should hopefully allow us to be more intelligent about our exception handling when syncing a product with CBS, because we currently only listen for generic Exceptions and can't easily react to issues that arise from one type of call or the other.

Please review: @weizhong-wang @lloyd-carter @KJOYNER

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading