diff --git a/extensions/vertx-web/runtime/src/main/java/io/quarkus/vertx/web/RoutingExchange.java b/extensions/vertx-web/runtime/src/main/java/io/quarkus/vertx/web/RoutingExchange.java
index d689457978609..54c93cc78dcfb 100644
--- a/extensions/vertx-web/runtime/src/main/java/io/quarkus/vertx/web/RoutingExchange.java
+++ b/extensions/vertx-web/runtime/src/main/java/io/quarkus/vertx/web/RoutingExchange.java
@@ -70,7 +70,7 @@ default void ok(String chunk) {
}
/**
- * Set the response status code to 200 and return the response.
+ * Set the response status code to 500 and return the response.
* You must call HttpServerResponse.end()
afterwards to end the response.
*
* @return the HTTP response object
@@ -80,7 +80,7 @@ default HttpServerResponse serverError() {
}
/**
- * Set the response status code to 200 and return the response.
+ * Set the response status code to 404 and return the response.
* You must call HttpServerResponse.end()
afterwards to end the response.
*
* @return the HTTP response object