Hi,
How can we know the HTTP error codes that Jersey can throw?
If you look at the WebApplicationException, one of its constructors, waits
for a Response.Status. If all Jersey's runtime exception inherite from
WebApplicationException, only the HTTP error codes defined in
Response.Status will be thrown.
But the javadoc of the JSR-311 informs that Response.Status can be extended
by the implementation (here is Jersey) using Response.StatusType.
ErrorHandler extends ExceptionMapper<RuntimeException>
Finally, what are the runtime exceptions possible with Jersey? Which kind of
runtime exceptions can be thrown?
Regards,
exxos.