update exception message

This commit is contained in:
oppofind 2020-05-25 13:43:45 +08:00
parent d13d758ede
commit 70eb845dd8
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ public class BaseDocBuilderTemplate {
Class<?> clzz = dictionary.getEnumClass();
if (Objects.isNull(clzz)) {
if (StringUtil.isEmpty(dictionary.getEnumClassName())) {
throw new RuntimeException(" enum class name can't be null.");
throw new RuntimeException("Enum class name can't be null.");
}
clzz = Class.forName(dictionary.getEnumClassName());
}