Method toResponse(E exception) in implementation example needs correction of its visibility to public (missed). Also better text formatting should be used (indentation). Full example should be:
@Provider public class EJBExceptionMapper implements ExceptionMapper<javax.ejb.EJBException> { public Response toResponse(EJBException exception) { return Response.status(500).build(); } }
- clones
-
RESTEASY-686 Docs: Section 26.1. Exception Mappers needs correction
- Closed
- is incorporated by
-
JBEAP-4600 Upgrade Resteasy to 3.0.17.Final
- Closed