for now I am using the WebServiceException as my runtime default exception:
@PUT
@Produces( { MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
@Consumes( { MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
@Path("slot/add")
public FpTimeSlot addSlot(FpTimeSlot slot) {
throw new WebServiceException("not yet implemented");
}
any other alternative, from the JAX-RS side ?
--
Please help to test this application:
http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces