META-INF.vertx.vertx-web-api-service-codegen.service_call_handler.txt Maven / Gradle / Ivy
res -> {
if (res.failed()) {
if (res.cause() instanceof ServiceException) {
msg.reply(res.cause());
} else {
msg.reply(new ServiceException(-1, res.cause().getMessage()));
}
} else {
msg.reply(res.result() == null ? null : res.result().toJson());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy