Hi,
when I throw WebApplicationException from resource class, it's always caught as EJBException, thus the client get wrong http error code (500).
@Stateless
@Path("/testrs")
public class TestResource{
@GET
public void throwExc(){
throw new WebApplicationException();
}
}
I guess this should not be the expected behavior.
Thanks
Herak