- All Implemented Interfaces:
- jakarta.ws.rs.ext.ExceptionMapper<jakarta.transaction.TransactionalException>, org.glassfish.jersey.spi.ExtendedExceptionMapper<jakarta.transaction.TransactionalException>
@ApplicationScoped
public class TransactionalExceptionMapper
extends Object
implements org.glassfish.jersey.spi.ExtendedExceptionMapper<jakarta.transaction.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