Class DbxApiException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccountPhotoGetErrorException, AddFileMemberErrorException, AddFolderMemberErrorException, AddPropertiesErrorException, AddSecondaryEmailsErrorException, AddTagErrorException, AlphaGetMetadataErrorException, BaseTagErrorException, CountFileRequestsErrorException, CreateFileRequestErrorException, CreateFolderErrorException, CreateSharedLinkErrorException, CreateSharedLinkWithSettingsErrorException, CustomQuotaErrorException, DateRangeErrorException, DeleteAllClosedFileRequestsErrorException, DeleteErrorException, DeleteFileRequestErrorException, DeleteManualContactsErrorException, DeleteProfilePhotoErrorException, DocLookupErrorException, DownloadErrorException, DownloadZipErrorException, EchoErrorException, ExcludedUsersListContinueErrorException, ExcludedUsersListErrorException, ExcludedUsersUpdateErrorException, ExportErrorException, FeaturesGetValuesBatchErrorException, FileMemberActionErrorException, GetAccountBatchErrorException, GetAccountErrorException, GetCopyReferenceErrorException, GetFileMetadataErrorException, GetFileRequestErrorException, GetMetadataErrorException, GetSharedLinkFileErrorException, GetSharedLinksErrorException, GetTeamEventsContinueErrorException, GetTeamEventsErrorException, GetTemporaryLinkErrorException, GetThumbnailBatchErrorException, GroupCreateErrorException, GroupDeleteErrorException, GroupMembersAddErrorException, GroupMemberSetAccessTypeErrorException, GroupMembersRemoveErrorException, GroupSelectorErrorException, GroupsGetInfoErrorException, GroupsListContinueErrorException, GroupsMembersListContinueErrorException, GroupsPollErrorException, GroupUpdateErrorException, InvalidPropertyGroupErrorException, LegalHoldsGetPolicyErrorException, LegalHoldsListHeldRevisionsErrorException, LegalHoldsListPoliciesErrorException, LegalHoldsPolicyCreateErrorException, LegalHoldsPolicyReleaseErrorException, LegalHoldsPolicyUpdateErrorException, ListDocsCursorErrorException, ListFileMembersContinueErrorException, ListFileMembersErrorException, ListFileRequestsContinueErrorException, ListFileRequestsErrorException, ListFilesContinueErrorException, ListFolderContinueErrorException, ListFolderErrorException, ListFolderLongpollErrorException, ListFolderMembersContinueErrorException, ListFoldersContinueErrorException, ListMemberAppsErrorException, ListMemberDevicesErrorException, ListMembersAppsErrorException, ListMembersDevicesErrorException, ListRevisionsErrorException, ListSharedLinksErrorException, ListTeamAppsErrorException, ListTeamDevicesErrorException, ListUsersCursorErrorException, LockFileErrorException, MembersDeleteFormerMemberFilesErrorException, MembersDeleteProfilePhotoErrorException, MembersGetInfoErrorException, MembersListContinueErrorException, MembersListErrorException, MembersRecoverErrorException, MembersRemoveErrorException, MembersSendWelcomeErrorException, MembersSetPermissions2ErrorException, MembersSetPermissionsErrorException, MembersSetProfileErrorException, MembersSetProfilePhotoErrorException, MembersSuspendErrorException, MembersTransferFormerMembersFilesErrorException, MembersUnsuspendErrorException, ModifySharedLinkSettingsErrorException, ModifyTemplateErrorException, MountFolderErrorException, PaperCreateErrorException, PaperDocCreateErrorException, PaperDocUpdateErrorException, PaperFolderCreateErrorException, PaperUpdateErrorException, PollErrorException, PreviewErrorException, PropertiesSearchContinueErrorException, PropertiesSearchErrorException, RelinquishAccessErrorException, RelinquishFileMembershipErrorException, RelinquishFolderMembershipErrorException, RelocationErrorException, RemoveFileMemberErrorException, RemoveFolderMemberErrorException, RemovePropertiesErrorException, RemoveTagErrorException, RestoreErrorException, RevokeDeviceSessionBatchErrorException, RevokeDeviceSessionErrorException, RevokeLinkedAppBatchErrorException, RevokeLinkedAppErrorException, RevokeSharedLinkErrorException, SaveCopyReferenceErrorException, SaveUrlErrorException, SearchErrorException, SetAccessInheritanceErrorException, SetCustomQuotaErrorException, SetProfilePhotoErrorException, SharedFolderAccessErrorException, SharedLinkMetadataErrorException, ShareFolderErrorException, SharingAllowlistAddErrorException, SharingAllowlistListContinueErrorException, SharingAllowlistListErrorException, SharingAllowlistRemoveErrorException, SharingUserErrorException, TeamFolderActivateErrorException, TeamFolderArchiveErrorException, TeamFolderCreateErrorException, TeamFolderListContinueErrorException, TeamFolderListErrorException, TeamFolderPermanentlyDeleteErrorException, TeamFolderRenameErrorException, TeamFolderRestoreErrorException, TeamFolderUpdateSyncSettingsErrorException, TeamNamespacesListContinueErrorException, TeamNamespacesListErrorException, TemplateErrorException, ThumbnailErrorException, ThumbnailV2ErrorException, TokenFromOAuth1ErrorException, TokenGetAuthenticatedAdminErrorException, TransferFolderErrorException, UnmountFolderErrorException, UnshareFileErrorException, UnshareFolderErrorException, UpdateFilePolicyErrorException, UpdateFileRequestErrorException, UpdateFolderMemberErrorException, UpdateFolderPolicyErrorException, UpdatePropertiesErrorException, UploadErrorException, UploadSessionAppendBatchErrorException, UploadSessionAppendErrorException, UploadSessionFinishErrorException, UploadSessionStartErrorException, UserFeaturesGetValuesBatchErrorException, UserInfoErrorException

public class DbxApiException extends DbxException
Base class for API-specific exceptions raised by API v2 routes.
See Also:
  • Constructor Details

  • Method Details

    • getUserMessage

      @Nullable public LocalizedText getUserMessage()
      Returns a human-readable message that can be displayed to the end user.

      If no such message is available, then this method returns null.

      Returns:
      human-readable message to display to end user, or null if unavailable
    • buildMessage

      protected static String buildMessage(String routeName, LocalizedText userMessage)
    • buildMessage

      protected static String buildMessage(String routeName, LocalizedText userMessage, Object errorValue)