@Provider public class DeserializationErrorMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<DeserializationError>
DeserializationError
exception to the Bad Request response.Constructor and Description |
---|
DeserializationErrorMapper() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
toResponse(DeserializationError e) |
public javax.ws.rs.core.Response toResponse(DeserializationError e)
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<DeserializationError>
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.