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 @Deprecated public class EntityNotFoundExceptionMapper extends AbstractExceptionMapper<EntityNotFoundException>
Deprecated.MapEntityNotFoundExceptionto a response containing a JSON error object.
-
-
Constructor Summary
Constructors Constructor Description EntityNotFoundExceptionMapper()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
getWellComposedErrorBody, logException, toResponse
-
-
-
-
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>
-
-