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"); + } }