Package ubic.gemma.rest.providers
Class EntityNotFoundExceptionMapper
- java.lang.Object
-
- ubic.gemma.rest.providers.AbstractExceptionMapper<EntityNotFoundException>
-
- ubic.gemma.rest.providers.EntityNotFoundExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<EntityNotFoundException>
@Provider @Component @Deprecated public class EntityNotFoundExceptionMapper extends AbstractExceptionMapper<EntityNotFoundException>
Deprecated.Phenocarta is scheduled for removalMapEntityNotFoundExceptionto a response containing a JSON error object.
-
-
Constructor Summary
Constructors Constructor Description EntityNotFoundExceptionMapper(io.swagger.v3.oas.models.OpenAPI spec, BuildInfo buildInfo)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected javax.ws.rs.core.Response.StatusgetStatus(EntityNotFoundException exception)Deprecated.Translate the exception to an HTTPResponse.Status.-
Methods inherited from class ubic.gemma.rest.providers.AbstractExceptionMapper
getResponseBuilder, getWellComposedErrorBody, logException, toResponse
-
-
-
-
Constructor Detail
-
EntityNotFoundExceptionMapper
@Autowired public EntityNotFoundExceptionMapper(io.swagger.v3.oas.models.OpenAPI spec, BuildInfo buildInfo)
Deprecated.
-
-
Method Detail
-
getStatus
protected javax.ws.rs.core.Response.Status getStatus(EntityNotFoundException exception)
Deprecated.Description copied from class:AbstractExceptionMapperTranslate the exception to an HTTPResponse.Status.- Specified by:
getStatusin classAbstractExceptionMapper<EntityNotFoundException>
-
-