2.19 Using WebApplicationException

Here's another way to handle exception scenarios in JAX-RS, using WebApplicationException.