Package ubic.gemma.rest.providers
Class MalformedArgExceptionMapper
- java.lang.Object
-
- ubic.gemma.rest.providers.AbstractExceptionMapper<MalformedArgException>
-
- ubic.gemma.rest.providers.MalformedArgExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<MalformedArgException>
@Provider public class MalformedArgExceptionMapper extends AbstractExceptionMapper<MalformedArgException>
-
-
Constructor Summary
Constructors Constructor Description MalformedArgExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.ws.rs.core.Response.StatusgetStatus(MalformedArgException exception)Translate the exception to an HTTPResponse.Status.protected WellComposedErrorBodygetWellComposedErrorBody(MalformedArgException exception)Obtain aWellComposedErrorBodyfor the exception.-
Methods inherited from class ubic.gemma.rest.providers.AbstractExceptionMapper
logException, toResponse
-
-
-
-
Method Detail
-
getStatus
protected javax.ws.rs.core.Response.Status getStatus(MalformedArgException exception)
Description copied from class:AbstractExceptionMapperTranslate the exception to an HTTPResponse.Status.- Specified by:
getStatusin classAbstractExceptionMapper<MalformedArgException>
-
getWellComposedErrorBody
protected WellComposedErrorBody getWellComposedErrorBody(MalformedArgException exception)
Description copied from class:AbstractExceptionMapperObtain aWellComposedErrorBodyfor the exception.- Overrides:
getWellComposedErrorBodyin classAbstractExceptionMapper<MalformedArgException>
-
-