Package ubic.gemma.rest.providers
Class UnhandledExceptionMapper
java.lang.Object
ubic.gemma.rest.providers.AbstractExceptionMapper<Throwable>
ubic.gemma.rest.providers.UnhandledExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<Throwable>
@Provider
@Component
public class UnhandledExceptionMapper
extends AbstractExceptionMapper<Throwable>
Render unhandled exceptions.
-
Field Summary
Fields inherited from class ubic.gemma.rest.providers.AbstractExceptionMapper
log -
Constructor Summary
ConstructorsConstructorDescriptionUnhandledExceptionMapper(String hostUrl, Future<io.swagger.v3.oas.models.OpenAPI> spec, ubic.gemma.core.util.BuildInfo buildInfo) -
Method Summary
Methods inherited from class ubic.gemma.rest.providers.AbstractExceptionMapper
getResponseBuilder, getWellComposedErrorBody, toResponse
-
Constructor Details
-
UnhandledExceptionMapper
-
-
Method Details
-
getStatus
Description copied from class:AbstractExceptionMapperTranslate the exception to an HTTPResponse.Status.- Specified by:
getStatusin classAbstractExceptionMapper<Throwable>
-