From 0c38588e74bc3cd5ff721ded10401d1fa25fd3af Mon Sep 17 00:00:00 2001 From: june-777 Date: Thu, 15 Aug 2024 18:56:57 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20Not=20Null=20=EC=98=88=EC=99=B8=20?= =?UTF-8?q?=EB=A9=94=EC=8B=9C=EC=A7=80=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/camp/woowak/lab/store/domain/StoreValidator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/camp/woowak/lab/store/domain/StoreValidator.java b/src/main/java/camp/woowak/lab/store/domain/StoreValidator.java index f0c31e19..f0b732b6 100644 --- a/src/main/java/camp/woowak/lab/store/domain/StoreValidator.java +++ b/src/main/java/camp/woowak/lab/store/domain/StoreValidator.java @@ -31,7 +31,7 @@ public static void validate(final Vendor owner, StoreCategory storeCategory, fin private static void validateNotNull(Object... targets) { for (Object target : targets) { if (target == null) { - throw new InvalidStoreCreationException(NULL_EXIST); + throw new InvalidStoreCreationException(NULL_EXIST, "Null 값은 허용하지 않습니다."); } } }