Package fr.paris.lutece.plugins.rest.service.mapper
package fr.paris.lutece.plugins.rest.service.mapper
-
ClassesClassDescriptionGeneric exception mapper, implementing
ExceptionMapper, used to convert uncaught exceptions to a properResponseto return.
To implement your own in a Lutece plugin or module using lutece-rest-plugin-rest, extend this class, annotate it withProvider, and add it as a bean in the context.xml file.GenericUncaughtJerseyExceptionMapper<T extends jakarta.ws.rs.WebApplicationException,E> Generic REST exception mapper, implementingExceptionMapper, used to convert uncaught REST exceptions to a properResponseto return.
To implement your own in a Lutece plugin or module using lutece-rest-plugin-rest, extend this class, annotate it withProvider.Exception mapper designed to intercept uncaughtWebApplicationException.
This is the default mapper for Jersey exceptions, it will only be triggered if no better suitable mappers are available for the fired exception.Exception mapper designed to intercept uncaughtThrowable.
This is the default mapper, it will only be triggered if no better suitable mappers are available for the fired exception.