[DATACMNS-300] ReflectionEntityInstantiator should actually throw created exception Created: 21/Mar/13  Updated: 16/Apr/13  Resolved: 25/Mar/13

Status: Closed
Project: Spring Data Commons
Component/s: Core
Affects Version/s: 1.5 Final
Fix Version/s: 1.5.1, 1.6 M1

Type: Bug Priority: Minor
Reporter: Johannes Mockenhaupt Assignee: Oliver Drotbohm
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: Not Specified
Original Estimate: 0d

Attachments: Zip Archive mylyn-context.zip    
Last updater: Trevor Marshall

 Description   

In the catch block a new exception is instanciated, which I assume should be thrown, but misses the throw keyword and therefore currently does nothing.

https://github.com/SpringSource/spring-data-commons/blob/master/src/main/java/org/springframework/data/convert/ReflectionEntityInstantiator.java#L64

Simplistic test that demonstrates this: https://github.com/SpringSource/spring-data-commons/pull/25/files


Generated at Sun Jan 26 19:06:45 UTC 2020 using Jira 7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6.