Remove punctuation in all exception messages.

Closes #2603.
This commit is contained in:
jo
2022-06-04 16:05:30 +02:00
committed by John Blum
parent 6e9a3cdccf
commit 6a23723f07
99 changed files with 275 additions and 174 deletions

View File

@@ -25,6 +25,7 @@ import org.springframework.util.Assert;
* implementation.
*
* @author Oliver Gierke
* @author Johannes Englmeier
* @since 2.0
* @soundtrack Richard Spaven - The Self (feat. Jordan Rakei)
*/
@@ -44,7 +45,7 @@ public interface ConfigurationUtils {
ResourceLoader resourceLoader = context.getResourceLoader();
if (resourceLoader == null) {
throw new IllegalArgumentException("Could not obtain ResourceLoader from XmlReaderContext!");
throw new IllegalArgumentException("Could not obtain ResourceLoader from XmlReaderContext");
}
return resourceLoader;
@@ -75,7 +76,7 @@ public interface ConfigurationUtils {
ClassLoader classLoader = resourceLoader.getClassLoader();
if (classLoader == null) {
throw new IllegalArgumentException("Could not obtain ClassLoader from ResourceLoader!");
throw new IllegalArgumentException("Could not obtain ClassLoader from ResourceLoader");
}
return classLoader;
@@ -96,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", beanDefinition));
}
return result;