[resteasy] Doubt about request, exception