users@jersey.java.net

[Jersey] Re: Invalid Parameter Format

From: Petr Jurák <petr.jurak_at_gmail.com>
Date: Tue, 23 Aug 2011 11:13:20 +0200

I think it could be passed through specific exception. If you perform
check then you can throw a new exception (specific) with information
about what has failed. Anyway I don't think, there is some annotation
like @Validate to do this.

2011/8/23 etc <ecelino_at_gmail.com>:
> The problem with ExceptionMapper is I won't be able to know which specific
> parameter failed so I can throw the specific error code.
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/Invalid-Parameter-Format-tp6698976p6715336.html
> Sent from the Jersey mailing list archive at Nabble.com.
>