Class KcUnrecognizedPropertyExceptionHandler

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

    public class KcUnrecognizedPropertyExceptionHandler
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException>
    Override explicitly added ExceptionMapper for handling UnrecognizedPropertyException in RestEasy Jackson org.jboss.resteasy.plugins.providers.jackson.UnrecognizedPropertyExceptionHandler
    • Constructor Detail

      • KcUnrecognizedPropertyExceptionHandler

        public KcUnrecognizedPropertyExceptionHandler()
    • Method Detail

      • toResponse

        public javax.ws.rs.core.Response toResponse​(com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException exception)
        Return escaped original message
        Specified by:
        toResponse in interface javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException>