You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by ch...@apache.org on 2022/10/21 02:56:22 UTC

[incubator-eventmesh] branch master updated: Refactor. Remove Exception from throws clause

This is an automated email from the ASF dual-hosted git repository.

chenguangsheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git


The following commit(s) were added to refs/heads/master by this push:
     new 7f531264 Refactor. Remove Exception from throws clause
     new 3cd7ba2f Merge pull request #1680 from krittysv/master
7f531264 is described below

commit 7f531264d1cc23329e787950fe75516b5cd5609e
Author: Kritty S Varghese <kr...@192.168.1.6>
AuthorDate: Thu Oct 20 14:53:18 2022 +0530

    Refactor. Remove Exception from throws clause
---
 .../eventmesh/common/protocol/http/body/client/RegResponseBody.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/client/RegResponseBody.java b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/client/RegResponseBody.java
index aeb32885..497a7417 100644
--- a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/client/RegResponseBody.java
+++ b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/client/RegResponseBody.java
@@ -55,7 +55,7 @@ public class RegResponseBody extends Body {
         this.resTime = resTime;
     }
 
-    public static RegResponseBody buildBody(Integer retCode, String retMsg) throws Exception {
+    public static RegResponseBody buildBody(Integer retCode, String retMsg) {
         RegResponseBody regResponseBody = new RegResponseBody();
         regResponseBody.setRetMsg(retMsg);
         regResponseBody.setResTime(System.currentTimeMillis());


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org