From df1bdf0365270e28b82afaf6ca3f1dc7ee188537 Mon Sep 17 00:00:00 2001 From: Kyon <32325790+kyonRay@users.noreply.github.com> Date: Tue, 19 Mar 2024 22:25:10 +0800 Subject: [PATCH] (V3): remove unnecessary throw exception. (#36) --- .../java/org/fisco/bcos/codegen/v3/wrapper/ContractWrapper.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/fisco/bcos/codegen/v3/wrapper/ContractWrapper.java b/src/main/java/org/fisco/bcos/codegen/v3/wrapper/ContractWrapper.java index 71c4fb4..0b9c6a2 100644 --- a/src/main/java/org/fisco/bcos/codegen/v3/wrapper/ContractWrapper.java +++ b/src/main/java/org/fisco/bcos/codegen/v3/wrapper/ContractWrapper.java @@ -1534,7 +1534,6 @@ private MethodSpec buildContractWrapperReturn(ABIDefinition functionDefinition) List outputParameterTypes = buildTypeNames(functionDefinition.getOutputs()); - methodBuilder.addException(ContractException.class); if (outputParameterTypes.isEmpty()) { String format =