public static class DbxRequestUtil.ErrorWrapper extends Exception
Constructor and Description |
---|
ErrorWrapper(Object errValue,
String requestId,
LocalizedText userMessage) |
Modifier and Type | Method and Description |
---|---|
static DbxRequestUtil.ErrorWrapper |
fromResponse(Type errType,
HttpRequestor.Response response) |
Object |
getErrorValue() |
String |
getRequestId() |
LocalizedText |
getUserMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ErrorWrapper(Object errValue, String requestId, LocalizedText userMessage)
public Object getErrorValue()
public String getRequestId()
public LocalizedText getUserMessage()
public static DbxRequestUtil.ErrorWrapper fromResponse(Type errType, HttpRequestor.Response response) throws IOException, com.fasterxml.jackson.core.JsonParseException
IOException
com.fasterxml.jackson.core.JsonParseException
Copyright © 2016. All rights reserved.