24.3. Overriding Resteasy Builtin Exceptions
You can override RESTEasy built-in exceptions by writing an
ExceptionMapper
for the exception. You can also write an ExceptionMapper
for any exception thrown, including WebApplicationException
.