Package org.projectnessie.services.rest
Class NessieJaxRsJsonParseExceptionMapper
- java.lang.Object
-
- org.projectnessie.services.rest.BaseExceptionMapper<com.fasterxml.jackson.core.JsonParseException>
-
- org.projectnessie.services.rest.NessieJaxRsJsonParseExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.core.JsonParseException>
@Provider public class NessieJaxRsJsonParseExceptionMapper extends BaseExceptionMapper<com.fasterxml.jackson.core.JsonParseException>
"Special" implementation for exceptions that extendJsonParseExceptionthat is needed when using Jackson-JaxRs, as those do not "go through"NessieExceptionMapper, because Jackson-JaxRs provides its own mapper forJsonParseException.
-
-
Constructor Summary
Constructors Constructor Description NessieJaxRsJsonParseExceptionMapper()NessieJaxRsJsonParseExceptionMapper(ServerConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsetoResponse(com.fasterxml.jackson.core.JsonParseException exception)-
Methods inherited from class org.projectnessie.services.rest.BaseExceptionMapper
buildExceptionResponse, buildExceptionResponse
-
-
-
-
Constructor Detail
-
NessieJaxRsJsonParseExceptionMapper
public NessieJaxRsJsonParseExceptionMapper()
-
NessieJaxRsJsonParseExceptionMapper
@Inject public NessieJaxRsJsonParseExceptionMapper(ServerConfig config)
-
-