Package io.airlift.jaxrs
Class ParsingExceptionMapper
java.lang.Object
io.airlift.jaxrs.ParsingExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<ParsingException>
@Provider
public class ParsingExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<ParsingException>
Maps ParsingExceptions to a 400 response code.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ParsingExceptionMapper
public ParsingExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<ParsingException>
-