I have a jax rs method that looks like this:
When an exception occurs while updating an employee a status 404 is returned, instead of the status 409 which is thrown with the WebException (extends WebApplicaitonException). I am sure that WebException is being thrown, but for some reason it returns the 404 status instead of the 409. What could cause this to happen?