From 06ffc8d8583d84d80b3d9b5ee85f72febcebb57c Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Tue, 4 Apr 2023 00:32:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=81=BF=E5=85=8D=E5=AE=9E=E4=BE=8B=E5=8C=96?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/xyz/zhouxy/plusone/constant/ErrorCodeConsts.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plusone-basic/plusone-basic-common/src/main/java/xyz/zhouxy/plusone/constant/ErrorCodeConsts.java b/plusone-basic/plusone-basic-common/src/main/java/xyz/zhouxy/plusone/constant/ErrorCodeConsts.java index f1958f9..2c38bd4 100644 --- a/plusone-basic/plusone-basic-common/src/main/java/xyz/zhouxy/plusone/constant/ErrorCodeConsts.java +++ b/plusone-basic/plusone-basic-common/src/main/java/xyz/zhouxy/plusone/constant/ErrorCodeConsts.java @@ -2,4 +2,8 @@ package xyz.zhouxy.plusone.constant; public class ErrorCodeConsts { public static final int DEFAULT_ERROR_CODE = 9999999; + + private ErrorCodeConsts() { + throw new IllegalStateException("Utility class"); + } }