public final class DbxWrappedException extends Exception
Constructor and Description |
---|
DbxWrappedException(Object errValue,
String requestId,
LocalizedText userMessage) |
Modifier and Type | Method and Description |
---|---|
static <T> DbxWrappedException |
fromResponse(StoneSerializer<T> errSerializer,
HttpRequestor.Response response) |
Object |
getErrorValue() |
String |
getRequestId() |
LocalizedText |
getUserMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DbxWrappedException(Object errValue, String requestId, LocalizedText userMessage)
public Object getErrorValue()
public String getRequestId()
public LocalizedText getUserMessage()
public static <T> DbxWrappedException fromResponse(StoneSerializer<T> errSerializer, HttpRequestor.Response response) throws IOException, com.fasterxml.jackson.core.JsonParseException
IOException
com.fasterxml.jackson.core.JsonParseException