类的使用
com.cdkjframework.exceptions.GlobalRuntimeException
使用GlobalRuntimeException的程序包
程序包
说明
公共异常帛捕获处理
工具类集合,发送邮件、JSON工具、GZIP工具、HEX工具、集合工具、正则表达式工具、字节工具、脚本执行工具等。
-
com.cdkjframework.core.spring.exception中GlobalRuntimeException的使用
修饰符和类型方法说明OverallSituationExceptionHandler.defultExcepitonHandler(GlobalRuntimeException e) 声明要捕获的异常 -
com.cdkjframework.util.tool中GlobalRuntimeException的使用
修饰符和类型方法说明static voidAssertUtils.isEmptyMessage(String key) 对象断言static voidAssertUtils.isEmptyMessage(String key, String message) 对象断言static <T> voidAssertUtils.isEmptyMessage(T t) 对象断言static <T> voidAssertUtils.isEmptyMessage(T t, String message) 对象断言static voidAssertUtils.isListEmpty(List<?> list) 断言数据集是为空static voidAssertUtils.isListEmpty(List<?> list, String message) 断言数据集是为空static void断言这个 boolean 为 true