Class QueryTimeoutExceptionMapper
java.lang.Object
ch.tocco.nice2.rest.core.spi.error.QueryTimeoutExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<Exception>
@Component
public class QueryTimeoutExceptionMapper
extends Object
implements jakarta.ws.rs.ext.ExceptionMapper<Exception>
The exception is mapped onto a 408 REQUEST TIMEOUT response.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
QueryTimeoutExceptionMapper
public QueryTimeoutExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponse
in interfacejakarta.ws.rs.ext.ExceptionMapper<Exception>
-