@Provider public class EntityExistsExceptionMapper extends java.lang.Object implements javax.ws.rs.ext.ExceptionMapper<EntityExistsException>
Constructor and Description |
---|
EntityExistsExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
toResponse(EntityExistsException exception) |
public javax.ws.rs.core.Response toResponse(EntityExistsException exception)
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<EntityExistsException>