From dff51e3d6edfec0f6eaf282695b4400c38874838 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Tue, 4 Jul 2023 12:21:56 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=8E=BB=E6=8E=89=E4=B8=8D=E7=94=A8?= =?UTF-8?q?=E7=9A=84=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/metersphere/sdk/exception/MSException.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/backend/framework/sdk/src/main/java/io/metersphere/sdk/exception/MSException.java b/backend/framework/sdk/src/main/java/io/metersphere/sdk/exception/MSException.java index f191c7ec8f..9e8b8ea7a1 100644 --- a/backend/framework/sdk/src/main/java/io/metersphere/sdk/exception/MSException.java +++ b/backend/framework/sdk/src/main/java/io/metersphere/sdk/exception/MSException.java @@ -21,11 +21,6 @@ public class MSException extends RuntimeException { this.errorCode = errorCode; } - - public static void throwException(IResultCode errorCode, String message) { - throw new MSException(errorCode, message); - } - public MSException(IResultCode errorCode, Throwable t) { super(t); this.errorCode = errorCode;