Package com.dropbox.core
Class DbxWrappedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.dropbox.core.DbxWrappedException
- All Implemented Interfaces:
Serializable
For internal use only.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDbxWrappedException(Object errValue, String requestId, LocalizedText userMessage) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> voidexecuteBlockForObject(DbxGlobalCallbackFactory factory, String userId, T routeError) static voidexecuteOtherBlocks(DbxGlobalCallbackFactory factory, String userId, Object routeError) static <T> DbxWrappedExceptionfromResponse(StoneSerializer<T> errSerializer, HttpRequestor.Response response, String userId) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DbxWrappedException
-
-
Method Details
-
getErrorValue
-
getRequestId
-
getUserMessage
-
fromResponse
public static <T> DbxWrappedException fromResponse(StoneSerializer<T> errSerializer, HttpRequestor.Response response, String userId) throws IOException, com.fasterxml.jackson.core.JsonParseException - Throws:
IOExceptioncom.fasterxml.jackson.core.JsonParseException
-
executeOtherBlocks
public static void executeOtherBlocks(DbxGlobalCallbackFactory factory, String userId, Object routeError) -
executeBlockForObject
public static <T> void executeBlockForObject(DbxGlobalCallbackFactory factory, String userId, T routeError)
-