You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by al...@apache.org on 2022/10/19 01:59:09 UTC

[dubbo-samples] branch master updated: feat: fix generic exception (#534)

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

albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new 282bd6d6 feat: fix generic exception (#534)
282bd6d6 is described below

commit 282bd6d6f5d3286f86d57696218aecd5b27cdb44
Author: aamingaa <49...@users.noreply.github.com>
AuthorDate: Wed Oct 19 09:59:04 2022 +0800

    feat: fix generic exception (#534)
---
 .../src/test/java/org/apache/dubbo/sample/tri/TriGenericTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-samples-triple/src/test/java/org/apache/dubbo/sample/tri/TriGenericTest.java b/dubbo-samples-triple/src/test/java/org/apache/dubbo/sample/tri/TriGenericTest.java
index 3f349bcf..d6070e0e 100644
--- a/dubbo-samples-triple/src/test/java/org/apache/dubbo/sample/tri/TriGenericTest.java
+++ b/dubbo-samples-triple/src/test/java/org/apache/dubbo/sample/tri/TriGenericTest.java
@@ -78,7 +78,7 @@ public class TriGenericTest {
             Assert.fail();
         } catch (RpcException e) {
             Assert.assertEquals(isSupportSelfDefineException, true);
-        } catch (GenericException e) {
+        } catch (IllegalStateException e) {
             Assert.assertEquals(isSupportSelfDefineException, false);
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org