users@jsr311.java.net

what to do, if a resource method throws an Error?

From: Stephan Koops <Stephan.Koops_at_web.de>
Date: Fri, 11 Jul 2008 19:54:40 +0200

Hi,

for checked and unchecked Exception from a resource method the JAX-RS
spec defines what to do. What to do with Errors? and other Throwables?
Errors the same as with unchecked Exceptions? And other Throwables? Also
wrap into a container specific Exception?

Constructors of root resource classes and providers may also throw
Throwables.

best regard
   Stephan