Class JsonParseExceptionHandler

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.core.JsonParseException>

    @Provider
    public class JsonParseExceptionHandler
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.core.JsonParseException>
    Author:
    Thorben Lindhauer
    • Constructor Detail

      • JsonParseExceptionHandler

        public JsonParseExceptionHandler()
    • Method Detail

      • toResponse

        public javax.ws.rs.core.Response toResponse​(com.fasterxml.jackson.core.JsonParseException exception)
        Specified by:
        toResponse in interface javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.core.JsonParseException>