Skip to content

Commit 3ab8c66

Browse files
authored
Add parameter to exception message format.
Closes: #2956 Original pull request: #2958
1 parent c68990a commit 3ab8c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/config/ConfigurationUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public static String getRequiredBeanClassName(BeanDefinition beanDefinition) {
9797

9898
if (result == null) {
9999
throw new IllegalArgumentException(
100-
String.format("Could not obtain required bean class name from BeanDefinition", beanDefinition));
100+
String.format("Could not obtain required bean class name from BeanDefinition %s", beanDefinition));
101101
}
102102

103103
return result;

0 commit comments

Comments
 (0)