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] [Resolved] (CAMEL-11077) Remove toString method in SalesforceException
Date Mon, 27 Mar 2017 17:28:42 GMT

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

Zoran Regvart resolved CAMEL-11077.
-----------------------------------
       Resolution: Done
    Fix Version/s: 2.19.0

> 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
>            Priority: Trivial
>             Fix For: 2.19.0
>
>
> 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)

Mime
View raw message