Daniel Kulp wrote:
> Definite "propogated"?   Unchecked exceptions are logged to the
> java.util.Logging stuff.   But they aren't propagated to the web container.
I want to throw exceptions from my WebService implementation that the client 
can know about but the Web Container will not even know (of course that means 
no logging in the Web Container logs)
Is there a way to throw exception in JAX-WS (or CXF) that do not get logged and 
just the client know about them?

Sergey Beryozkin:
> WebApplicationExceptions are not sent to the container due to the fact that 
> CXF JAX-RS includes the default WebApplicationException ExceptionMapper.
> Any custom exceptions for which no ExceptionMappers can be found will 
> actually escape to the container wrapped in a ServletException as per the 
> JAX-RS spec - it can be disabled though
How may I do the same thing in JAX-WS?



Ahora también puedes acceder a tu correo Terra desde el móvil.
Infórmate pinchando aquí.


Reply via email to