Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10846

Handle 404 situations more gracefully

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.19.0
    • 2.19.0
    • camel-salesforce
    • None
    • Unknown

    Description

      When Salesforce API returns 404 status indicating that an SObject could not be found using one of the operations for retrieving the SObjects, it should throw an more descriptive SalesforceException, for instance NoSuchSObjectException.
      Also add an option that would return null in case of 404 status instead of throwing an exception, with the default to throw the exception.

      Attachments

        Issue Links

          Activity

            People

              zregvart Zoran Regvart
              zregvart Zoran Regvart
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: