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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsetoResponse(CompileException exception)  
- 
Constructor Details
- 
CompileQueryExceptionMapper
public CompileQueryExceptionMapper() 
 - 
 - 
Method Details
- 
toResponse
- Specified by:
 toResponsein interfacejakarta.ws.rs.ext.ExceptionMapper<CompileException>
 
 -