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, io.swagger.v3.oas.models.OpenAPI spec, 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:AbstractExceptionMapper
Translate the exception to an HTTPResponse.Status
.- Specified by:
getStatus
in classAbstractExceptionMapper<Throwable>
-