@ApplicationScoped public class TransactionalExceptionMapper extends Object implements org.glassfish.jersey.spi.ExtendedExceptionMapper<TransactionalException>
WebApplicationException thrown from a transactional
CDI bean would get properly mapped to corresponding response.| Constructor and Description |
|---|
TransactionalExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMappable(TransactionalException exception) |
Response |
toResponse(TransactionalException exception) |
public Response toResponse(TransactionalException exception)
toResponse in interface ExceptionMapper<TransactionalException>public boolean isMappable(TransactionalException exception)
isMappable in interface org.glassfish.jersey.spi.ExtendedExceptionMapper<TransactionalException>Copyright © 2007-2019, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.