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.Status
getStatus(MalformedArgException exception)
Translate the exception to an HTTPResponse.Status
.protected WellComposedErrorBody
getWellComposedErrorBody(MalformedArgException exception)
Obtain aWellComposedErrorBody
for 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:AbstractExceptionMapper
Translate the exception to an HTTPResponse.Status
.- Specified by:
getStatus
in classAbstractExceptionMapper<MalformedArgException>
-
getWellComposedErrorBody
protected WellComposedErrorBody getWellComposedErrorBody(MalformedArgException exception)
Description copied from class:AbstractExceptionMapper
Obtain aWellComposedErrorBody
for the exception.- Overrides:
getWellComposedErrorBody
in classAbstractExceptionMapper<MalformedArgException>
-
-