@Singleton @Provider public class EntityPersistenceExceptionMapper extends ExceptionMapperBase implements javax.ws.rs.ext.ExceptionMapper<EntityPersistenceException>
| Constructor and Description |
|---|
EntityPersistenceExceptionMapper(javax.ws.rs.core.UriInfo uriInfo) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
toResponse(EntityPersistenceException exception) |
buildAuthorizationErrorResponse, buildBadRequestResponse, buildConflictingRequestResponse, buildInternalErrorResponse, buildNotFoundResponse, fallbackpublic EntityPersistenceExceptionMapper(@Context
javax.ws.rs.core.UriInfo uriInfo)
public javax.ws.rs.core.Response toResponse(EntityPersistenceException exception)
toResponse in interface javax.ws.rs.ext.ExceptionMapper<EntityPersistenceException>Copyright © 2010-2014. All Rights Reserved.