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

Handle 404 situations more gracefully

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.19.0
    • Fix Version/s: 2.19.0
    • Component/s: camel-salesforce
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: