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

Remove toString method in SalesforceException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Done
    • None
    • 2.19.0
    • camel-salesforce
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: