-
Bug
-
Resolution: Done
-
Major
-
2.3.2.Final, 3.0.16.Final
-
None
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(); } }
- is cloned by
-
JBEAP-4694 Docs: Section 26.1. Exception Mappers needs correction
- Closed