Create a common class to parametrize all JAX-RS exception handlers