@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() |
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 © 2013. All rights reserved.