Skip to content

Add Missing Constructors Back to MessageHandlingException [SPR-11345] #15969

@spring-projects-issues

Description

@spring-projects-issues

Gary Russell opened SPR-11345 and commented

Constructor variants that do not include a description parameter were dropped from this class when moved from Spring Integration to spring-messaging. The parent class MessagingException has them.

We can work around this by using another constructor and replicating the code in Throwable(Throwable cause):

throw new MessageHandlingException(message, e.toString(), e);

or, by simply adding back the missing constructors.

I will submit a PR for your consideration.


Affects: 4.0 GA

Issue Links:

  • INT-3271 Restore MessageHandlingException Behavior

Referenced from: commits 0e7b94f

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions