Skip to content

Commit

Permalink
update exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
shalousun committed May 25, 2020
1 parent d13d758 commit 70eb845
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public List<ApiErrorCode> errorCodeDictToList(ApiConfig config) {
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());
}
Expand Down

0 comments on commit 70eb845

Please sign in to comment.