shj1995 opened a new issue, #13053: URL: https://github.com/apache/dubbo/issues/13053
<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy --> - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 3.2.5 * Operating System version: mac * Java version: 17 ### Steps to reproduce this issue 1. 开启服务提供者的参数校验功能 2. 当参数校验失败,会抛出异常,类型为jakarta.validation.ConstraintViolationException 3. 经过ExceptionFilter的时候会被转为RuntimeException 4. 导致服务调用者不能正确感知和处理该异常 Pls. provide [GitHub address] to reproduce this issue. ### Expected Behavior 希望在ExceptionFilter中增加判断条件 ``` # 修改前: if (className.startsWith("java.") || className.startsWith("javax.")) { return; } # 修改后: if (className.startsWith("java.") || className.startsWith("javax.") || className.startsWith("jakarta.")) { return; } ``` ### Actual Behavior <!-- What actually happens? --> If there is an exception, please attach the exception trace: ``` Just put your stack trace here! ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
