From 1bb79a70a9e4f0046a66a72ec399fa66bc07af02 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 02 Nov 2021 11:18:41 +0800 Subject: [PATCH] fix --- zq-erp/src/main/java/com/matrix/core/exception/GlobleException.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/core/exception/GlobleException.java b/zq-erp/src/main/java/com/matrix/core/exception/GlobleException.java index 214bb65..2061d5f 100644 --- a/zq-erp/src/main/java/com/matrix/core/exception/GlobleException.java +++ b/zq-erp/src/main/java/com/matrix/core/exception/GlobleException.java @@ -63,6 +63,10 @@ return message; } + public static RuntimeException instance(String msg) { + return new GlobleException(msg); + } + public String getErrorCode() { return errorCode; } -- Gitblit v1.9.1