Class DbxWrappedException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class DbxWrappedException
    extends java.lang.Exception
    For internal use only.
    See Also:
    Serialized Form
    • Constructor Detail

      • DbxWrappedException

        public DbxWrappedException​(java.lang.Object errValue,
                                   java.lang.String requestId,
                                   LocalizedText userMessage)
    • Method Detail

      • getErrorValue

        public java.lang.Object getErrorValue()
      • getRequestId

        public java.lang.String getRequestId()
      • fromResponse

        public 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
      • executeOtherBlocks

        public static void executeOtherBlocks​(DbxGlobalCallbackFactory factory,
                                              java.lang.String userId,
                                              java.lang.Object routeError)
      • executeBlockForObject

        public static <T> void executeBlockForObject​(DbxGlobalCallbackFactory factory,
                                                     java.lang.String userId,
                                                     T routeError)