Class JsonMappingExceptionHandler

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

    @Provider
    public class JsonMappingExceptionHandler
    extends java.lang.Object
    implements javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.JsonMappingException>
    Author:
    Thorben Lindhauer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response toResponse​(com.fasterxml.jackson.databind.JsonMappingException exception)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JsonMappingExceptionHandler

        public JsonMappingExceptionHandler()
    • Method Detail

      • toResponse

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