users@jersey.java.net

Re: Custom Invalid Parameter Handling

From: Dan Forward <dan-nabble_at_forwardhome.com>
Date: Wed, 14 Apr 2010 14:44:08 -0800 (PST)

Using Hibernate Validator is an intriguing idea. I did not know JSR 303
existed. However, I think I would still be left with the challenge that
Jersey still would return 400 Bad Request for any invalid parameter without
any indication of which parameter was invalid. Even simple things, like
Gender, which we implement with an Enum, we want to catch and return a JSON
message with the 400 Bad Request.

Sincerely,

Dan Forward
-- 
View this message in context: http://n2.nabble.com/Custom-Invalid-Parameter-Handling-tp4904335p4904542.html
Sent from the Jersey mailing list archive at Nabble.com.