public class JSONErrorParser extends Object implements com.marklogic.client.impl.FailedRequestParser
This class is provided as a convenience method for parsing MarkLogic errors that are serialized as JSON. In order to use this class, your project must provide the Jackson data binding library for JSON.
| Constructor and Description |
|---|
JSONErrorParser() |
| Modifier and Type | Method and Description |
|---|---|
com.marklogic.client.impl.FailedRequest |
parseFailedRequest(int httpStatus,
InputStream content) |
public com.marklogic.client.impl.FailedRequest parseFailedRequest(int httpStatus,
InputStream content)
parseFailedRequest in interface com.marklogic.client.impl.FailedRequestParserCopyright © 2013-2017 MarkLogic Corporation.