You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/09/20 08:08:49 UTC
[GitHub] [dubbo] xiangzz159 opened a new issue, #10647: 为什么 JValidator中用ValidationException替代ConstraintViolationException
xiangzz159 opened a new issue, #10647:
URL: https://github.com/apache/dubbo/issues/10647
<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->
<!-- For all design discussions please continue. -->

从2.7.4.1升级到3.0.10后发现ConstraintViolationException被ValidationException替代。原本可以直接提示调用方哪些参数异常现在只能输出整段错误信息。
ConstraintViolationException继承ValidationException。当抛出ConstraintViolationException异常的时候被捕获重新抛出ValidationException异常。感觉这个操作没啥意义
--
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: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] xiangzz159 commented on issue #10647: 为什么 JValidator中用ValidationException替代ConstraintViolationException
Posted by GitBox <gi...@apache.org>.
xiangzz159 commented on issue #10647:
URL: https://github.com/apache/dubbo/issues/10647#issuecomment-1252010881
https://github.com/apache/dubbo/issues/10415
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] xiangzz159 closed issue #10647: 为什么 JValidator中用ValidationException替代ConstraintViolationException
Posted by GitBox <gi...@apache.org>.
xiangzz159 closed issue #10647: 为什么 JValidator中用ValidationException替代ConstraintViolationException
URL: https://github.com/apache/dubbo/issues/10647
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org