users@jersey.java.net

NoResultException

From: Markus KARG <markus.karg_at_gmx.net>
Date: Mon, 28 Jul 2008 09:05:06 +0200

Hi Jersey Community,

I am experimenting with JAX-RS resources implemented by means of JPA. I
wonder how for that integration of JPA and JAX-RS goes: In a @GET
method, do I have to check for NoResultException (and return code "404
Not Found") on my own, or will Jersey automatically catch a
NoResultException thrown by @GET and automatically return "404 Not
Found" in that case?

Thanks
Markus

-- 
http://www.xing.com/go/invita/58469