public final class DbxWrappedException
extends java.lang.Exception
Constructor and Description |
---|
DbxWrappedException(java.lang.Object errValue,
java.lang.String requestId,
LocalizedText userMessage) |
Modifier and Type | Method and Description |
---|---|
static <T> void |
executeBlockForObject(DbxGlobalCallbackFactory factory,
java.lang.String userId,
T routeError) |
static void |
executeOtherBlocks(DbxGlobalCallbackFactory factory,
java.lang.String userId,
java.lang.Object routeError) |
static <T> DbxWrappedException |
fromResponse(StoneSerializer<T> errSerializer,
HttpRequestor.Response response,
java.lang.String userId) |
java.lang.Object |
getErrorValue() |
java.lang.String |
getRequestId() |
LocalizedText |
getUserMessage() |
public DbxWrappedException(java.lang.Object errValue, java.lang.String requestId, LocalizedText userMessage)
public java.lang.Object getErrorValue()
public java.lang.String getRequestId()
public LocalizedText getUserMessage()
public static <T> DbxWrappedException fromResponse(StoneSerializer<T> errSerializer, HttpRequestor.Response response, java.lang.String userId) throws java.io.IOException, com.fasterxml.jackson.core.JsonParseException
java.io.IOException
com.fasterxml.jackson.core.JsonParseException
public static void executeOtherBlocks(DbxGlobalCallbackFactory factory, java.lang.String userId, java.lang.Object routeError)
public static <T> void executeBlockForObject(DbxGlobalCallbackFactory factory, java.lang.String userId, T routeError)