diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/exception/FlexAssert.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/exception/FlexAssert.java index 59bd3a34..9c55d4c4 100644 --- a/mybatis-flex-core/src/main/java/com/mybatisflex/core/exception/FlexAssert.java +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/exception/FlexAssert.java @@ -83,7 +83,7 @@ public final class FlexAssert { */ public static void notEmpty(T[] array, String param) { if (array == null || array.length == 0) { - throw FlexExceptions.wrap(param); + throw FlexExceptions.wrap(LocalizedFormats.ARRAY_NULL_OR_EMPTY, param); } }