public class RestResponseErrorParser extends Object
| Constructor and Description |
|---|
RestResponseErrorParser(ResponseData response) |
| Modifier and Type | Method and Description |
|---|---|
String |
getError()
Extract the error field from an exception in JSON format.
|
String |
getMessage()
Extract the message filed from an exception in JSON format.
|
public RestResponseErrorParser(ResponseData response) throws com.fasterxml.jackson.core.JsonProcessingException, IOException
com.fasterxml.jackson.core.JsonProcessingExceptionIOExceptionCopyright © 2014. All Rights Reserved.