camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoran Regvart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10846) Handle 404 situations more gracefully
Date Thu, 16 Feb 2017 10:52:42 GMT

     [ 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)

Mime
View raw message