Class WebApplicationExceptionMapper
java.lang.Object
ch.tocco.nice2.rest.core.spi.error.WebApplicationExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<jakarta.ws.rs.WebApplicationException>
@Component
public class WebApplicationExceptionMapper
extends Object
implements jakarta.ws.rs.ext.ExceptionMapper<jakarta.ws.rs.WebApplicationException>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
toResponse
(jakarta.ws.rs.WebApplicationException exception)
-
Constructor Details
-
WebApplicationExceptionMapper
public WebApplicationExceptionMapper()
-
-
Method Details
-
toResponse
public jakarta.ws.rs.core.Response toResponse(jakarta.ws.rs.WebApplicationException exception) - Specified by:
toResponse
in interfacejakarta.ws.rs.ext.ExceptionMapper<jakarta.ws.rs.WebApplicationException>
-