users@jersey.java.net

Re: [Jersey] Customize default error responses

From: Chris Carrier <ctcarrier_at_gmail.com>
Date: Tue, 2 Feb 2010 11:13:56 -0800

The WebApplicationException contains the status. Something like:

e.getResponse().getStatus()

Chris

On Tue, Feb 2, 2010 at 11:08 AM, Robert Koberg <rob_at_koberg.com> wrote:
>
> On Feb 2, 2010, at 10:23 AM, Paul Sandoz wrote:
>>
>> For any complete solution you will need to check the status code and if any entity exists for e as your application may, in the future say, throw a WebApplicationException or an extension of.
>
> How would you get the status code?
>
> -Rob
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>