users@glassfish.java.net

Re: how to send user defined error message in the status ...

From: <forums_at_java.net>
Date: Wed, 6 Apr 2011 18:13:09 -0500 (CDT)

This example [1] may help, it demonstrates how to throw and map exceptions
using ExceptionMapper in Jersey resource classes.  Built version of example
is located in maven repo at [2].

[1]
http://java.net/projects/jersey/sources/svn/show/trunk/jersey/samples/exceptions?rev=4821 

[2]
http://download.java.net/maven/2/com/sun/jersey/samples/exceptions/1.7-ea01/exceptions-1.7-ea01.war


--
[Message sent by forum member 'jbenoit']
View Post: http://forums.java.net/node/789369