由网友(我爱你°只不过是一句玩笑)分享简介:Quarkus是否提供异常处理程序?我想要类似于Spring的ControllerAdvices.https://www.baeldung.com/exception-handling-for-rest-with-spring推荐答案Quarkus/RESTEasy世界中的等价物称为ExceptionMapper。查...
Quarkus是否提供异常处理程序?
我想要类似于Spring的ControllerAdvices.
https://www.baeldung.com/exception-handling-for-rest-with-spring
推荐答案
Quarkus/RESTEasy世界中的等价物称为ExceptionMapper
。
查看此处,例如:https://howtodoinjava.com/resteasy/resteasy-exceptionmapper-example/。
相关推荐
最新文章