package com.changhong.epc.rely.api.tool; import com.changhong.epc.constter.base.BaseConst; import com.iemsoft.framework.cloud.core.exception.IEMRestException; public class ValidateTool implements BaseConst { public static void assertException(boolean isThrow, Object... args){ if(isThrow){ throw new IEMRestException("U0041"); } } public static void assertException(boolean isThrow){ if(isThrow){ throw new IEMRestException("U0041"); } } }