|
From: Martin A. <sp...@ma...> - 2008-07-08 09:52:58
|
In ResourceMethod.invoke() line 153, there's a try-catch that makes all Failure exceptions thrown below be translated to 400. Is this deliberate? To make NumberFormatException result in 404 I want to pass my error code in the Failure exception, and then get that set in the response. I've checked in a change where we always set the error code passed in the Failure - it looks reasonable. Martin |