Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11077

Remove toString method in SalesforceException

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.19.0
    • Component/s: camel-salesforce
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              zregvart Zoran Regvart
              Reporter:
              zregvart Zoran Regvart
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: