- All Implemented Interfaces:
- javax.ws.rs.ext.ExceptionMapper<TransactionalException>, org.glassfish.jersey.spi.ExtendedExceptionMapper<TransactionalException>
@ApplicationScoped
public class TransactionalExceptionMapper
extends Object
implements org.glassfish.jersey.spi.ExtendedExceptionMapper<TransactionalException>
Helper class to handle exceptions thrown by JTA layer. If this mapper was not
registered, no WebApplicationException thrown from a transactional
CDI bean would get properly mapped to corresponding response.
- Author:
- Jakub Podlesak (jakub.podlesak at oracle.com)