Add parameter to exception message format.

Closes: #2956
Original pull request: #2958
This commit is contained in:
mawen12
2023-10-17 17:25:22 +08:00
committed by GitHub
parent c68990abbf
commit 3ab8c66e0f

View File

@@ -97,7 +97,7 @@ public interface ConfigurationUtils {
if (result == null) {
throw new IllegalArgumentException(
String.format("Could not obtain required bean class name from BeanDefinition", beanDefinition));
String.format("Could not obtain required bean class name from BeanDefinition %s", beanDefinition));
}
return result;