PropertyAccess exception messages do not contain full context

Description

When a property (method or field) cannot be found by a Basic/DirectPropertyAccessor, the exception messages does not indicate the class along with the property name.

eg:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [opentrader-brokerdomain-hibernate-ftest.xml]: Initialization of bean failed; nested exception is net.sf.hibernate.MappingException: Problem trying to set property type by reflection
net.sf.hibernate.MappingException: Problem trying to set property type by reflection
...
Caused by: net.sf.hibernate.PropertyNotFoundException: field not

Environment

None

Assignee

Unassigned

Reporter

BarryB

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Affects versions

Priority

Minor
Configure