You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Zoran Regvart (JIRA)" <ji...@apache.org> on 2017/03/27 17:24:41 UTC

[jira] [Created] (CAMEL-11077) Remove toString method in SalesforceException

Zoran Regvart created CAMEL-11077:
-------------------------------------

             Summary: Remove toString method in SalesforceException
                 Key: CAMEL-11077
                 URL: https://issues.apache.org/jira/browse/CAMEL-11077
             Project: Camel
          Issue Type: Improvement
          Components: camel-salesforce
            Reporter: Zoran Regvart
            Assignee: Zoran Regvart


The SalesforceException has no need for the {{toString}} method, exceptions in general rarely need to override {{toString}} from {{Throwable}} as it contains the message passed in construction.
This confuses users to think they got JSON response, while in fact there has been an exception.



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