sample code for vert.x microservice by joel patrick llosa for a stackhunter.com blog
here is the output when you run the service then invoke http://localhost:8080/log?m=arkenstone&s=class.cast.exception:
Vert.x HTTP server listening at port 8080... message: arkenstone, stacktrace: class.cast.exception