Package com.dropbox.core
Class DbxWrappedException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- com.dropbox.core.DbxWrappedException
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public final class DbxWrappedException extends java.lang.ExceptionFor internal use only.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description DbxWrappedException(java.lang.Object errValue, java.lang.String requestId, LocalizedText userMessage)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> voidexecuteBlockForObject(DbxGlobalCallbackFactory factory, java.lang.String userId, T routeError)static voidexecuteOtherBlocks(DbxGlobalCallbackFactory factory, java.lang.String userId, java.lang.Object routeError)static <T> DbxWrappedExceptionfromResponse(StoneSerializer<T> errSerializer, HttpRequestor.Response response, java.lang.String userId)java.lang.ObjectgetErrorValue()java.lang.StringgetRequestId()LocalizedTextgetUserMessage()
 
- 
- 
- 
Constructor Detail- 
DbxWrappedExceptionpublic DbxWrappedException(java.lang.Object errValue, java.lang.String requestId, LocalizedText userMessage)
 
- 
 - 
Method Detail- 
getErrorValuepublic java.lang.Object getErrorValue() 
 - 
getRequestIdpublic java.lang.String getRequestId() 
 - 
getUserMessagepublic LocalizedText getUserMessage() 
 - 
fromResponsepublic static <T> DbxWrappedException fromResponse(StoneSerializer<T> errSerializer, HttpRequestor.Response response, java.lang.String userId) throws java.io.IOException, com.fasterxml.jackson.core.JsonParseException - Throws:
- java.io.IOException
- com.fasterxml.jackson.core.JsonParseException
 
 - 
executeOtherBlockspublic static void executeOtherBlocks(DbxGlobalCallbackFactory factory, java.lang.String userId, java.lang.Object routeError) 
 - 
executeBlockForObjectpublic static <T> void executeBlockForObject(DbxGlobalCallbackFactory factory, java.lang.String userId, T routeError) 
 
- 
 
-