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

HttpStatusCodeException not serializable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.1.1
    • Fix Version/s: None
    • Component/s: Web
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      My app use an exception reporting framework that depends on the fact that all exceptions should be serializable. When org.springframework.web.client.HttpStatusCodeException is thrown in a RestTemplate method, the exception reporting framework complains that a Charset object in the HttpStatusCodeException is not serializable.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rstoya05-aop Rossen Stoyanchev
                Reporter:
                psfung Samuel Fung
                Last updater:
                Trevor Marshall
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 2 weeks, 1 day ago