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)

Reply via email to