Class CompileQueryExceptionMapper
java.lang.Object
ch.tocco.nice2.rest.entity.impl.error.CompileQueryExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<CompileException>
@Component
public class CompileQueryExceptionMapper
extends Object
implements jakarta.ws.rs.ext.ExceptionMapper<CompileException>
This exception mapper is registered on the
CompileException
.
The exception is mapped onto a 400 BAD REQUEST response.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
toResponse
(CompileException exception)
-
Constructor Details
-
CompileQueryExceptionMapper
public CompileQueryExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponse
in interfacejakarta.ws.rs.ext.ExceptionMapper<CompileException>
-