Package com.dropbox.core.v2.files
Class UploadWriteFailed
java.lang.Object
com.dropbox.core.v2.files.UploadWriteFailed
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe reason why the file couldn't be saved.The upload session ID; data has already been uploaded to the corresponding upload session and this ID may be used to retry the commit withDbxUserFilesRequests.uploadSessionFinish(UploadSessionCursor,CommitInfo,String).inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
reason
-
uploadSessionId
-
-
Constructor Details
-
UploadWriteFailed
- Parameters:
reason- The reason why the file couldn't be saved. Must not benull.uploadSessionId- The upload session ID; data has already been uploaded to the corresponding upload session and this ID may be used to retry the commit withDbxUserFilesRequests.uploadSessionFinish(UploadSessionCursor,CommitInfo,String). Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getReason
The reason why the file couldn't be saved.- Returns:
- value for this field, never
null.
-
getUploadSessionId
The upload session ID; data has already been uploaded to the corresponding upload session and this ID may be used to retry the commit withDbxUserFilesRequests.uploadSessionFinish(UploadSessionCursor,CommitInfo,String).- Returns:
- value for this field, never
null.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-