HHH-18181 Include property and class for PropertyBinder errors

This commit is contained in:
Ken Schosinsky 2024-05-29 17:16:10 +02:00 committed by Steve Ebersole
parent e1051c26d0
commit 475e780da1

View File

@ -305,8 +305,9 @@ private void callAttributeBinders(Property property, Map<String, PersistentClass
binder.bind( metaAnnotatedTarget, buildingContext, persistentClass, property ); binder.bind( metaAnnotatedTarget, buildingContext, persistentClass, property );
} }
catch ( Exception e ) { catch ( Exception e ) {
throw new AnnotationException( "error processing @AttributeBinderType annotation '" + throw new AnnotationException( "error processing @AttributeBinderType annotation '"
metaAnnotatedDescriptor.getAnnotationType().getName() + "'", e ); + metaAnnotatedDescriptor.getAnnotationType().getName() + "' for property "
+ qualify( holder.getPath(), name ), e );
} }
} }
} }