Class CustomExceptionMapper
java.lang.Object
org.apache.druid.server.initialization.jetty.CustomExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.JsonMappingException>
@Provider
public class CustomExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.JsonMappingException>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsetoResponse(com.fasterxml.jackson.databind.JsonMappingException exception)
-
Field Details
-
ERROR_KEY
- See Also:
-
UNABLE_TO_PROCESS_ERROR
- See Also:
-
-
Constructor Details
-
CustomExceptionMapper
public CustomExceptionMapper()
-
-
Method Details
-
toResponse
public javax.ws.rs.core.Response toResponse(com.fasterxml.jackson.databind.JsonMappingException exception) - Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.JsonMappingException>
-