use of io.vertx.up.exception._404ServiceNotFoundException in project vertx-zero by silentbalanceyh.
the class ServiceJet method reply404Error.
/**
* Service Not Found ( 404 )
*
* @param context
*/
private void reply404Error(final RoutingContext context) {
final HttpServerRequest request = context.request();
final WebException exception = new _404ServiceNotFoundException(getClass(), request.uri(), request.method());
Answer.reply(context, Envelop.failure(exception));
}
Aggregations