@Provider public class TransactionalExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<TransactionalException>
| Modifier and Type | Field and Description |
|---|---|
static String |
INVALID_TRANSACTIONA_MESSAGE |
static String |
TRANSACTIONA_REQUIRED_MESSAGE |
| Constructor and Description |
|---|
TransactionalExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
toResponse(TransactionalException exception) |
public static final String TRANSACTIONA_REQUIRED_MESSAGE
public static final String INVALID_TRANSACTIONA_MESSAGE
public javax.ws.rs.core.Response toResponse(TransactionalException exception)
toResponse in interface javax.ws.rs.ext.ExceptionMapper<TransactionalException>Copyright © 2014 JBoss by Red Hat. All rights reserved.