I am building a REST application, which is running on Glassfish 3, and having trouble handling the case when a parameter is bound to an enum:
@FormParam(\"s
Hint: It is necessary that MyException extends WebApplicationException. Other exceptions (like an IllegalArgumentException for example) are not handled by any provider in that scope (when parsing the reqest).