Class ClientQuestionExceptionMapper
java.lang.Object
ch.tocco.nice2.rest.core.spi.error.clientquestion.ClientQuestionExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<ClientQuestionException>
@Component
public class ClientQuestionExceptionMapper
extends Object
implements jakarta.ws.rs.ext.ExceptionMapper<ClientQuestionException>
Creates response beans for
ClientQuestionExceptions
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setFactories
(List<ClientQuestionBeanFactory> beanFactories) jakarta.ws.rs.core.Response
toResponse
(ClientQuestionException exception)
-
Constructor Details
-
ClientQuestionExceptionMapper
public ClientQuestionExceptionMapper()
-
-
Method Details
-
setFactories
-
toResponse
- Specified by:
toResponse
in interfacejakarta.ws.rs.ext.ExceptionMapper<ClientQuestionException>
-