Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-9325

Add more details in ResourceAccessException message thrown by doExecute method of RestTemplate

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.2 RC1
    • Component/s: Core
    • Last commented by a User:
      true

      Description

      The RestTemplate is throwing exception message as follows:

      throw new ResourceAccessException("I/O error: " + ex.getMessage(), ex);

      The message can be improved by adding URL and Method passed to doExecute method.

      Thanks,

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rstoya05-aop Rossen Stoyanchev
                Reporter:
                rcrathore Ritesh
                Last updater:
                Juergen Hoeller
              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 1 week, 2 days ago