[ 
https://issues.apache.org/jira/browse/CAMEL-10846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zoran Regvart updated CAMEL-10846:
----------------------------------
    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.

  was:
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.


> Handle 404 situations more gracefully
> -------------------------------------
>
>                 Key: CAMEL-10846
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10846
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-salesforce
>    Affects Versions: 2.19.0
>            Reporter: Zoran Regvart
>            Assignee: Zoran Regvart
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to