public class UploadWriteFailed
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected WriteError |
reason |
protected java.lang.String |
uploadSessionId |
| Constructor and Description |
|---|
UploadWriteFailed(WriteError reason,
java.lang.String uploadSessionId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
WriteError |
getReason()
The reason why the file couldn't be saved.
|
java.lang.String |
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
with
DbxUserFilesRequests.uploadSessionFinish(UploadSessionCursor,CommitInfo). |
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final WriteError reason
protected final java.lang.String uploadSessionId
public UploadWriteFailed(WriteError reason, java.lang.String uploadSessionId)
reason - The reason why the file couldn't be saved. Must not be
null.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 with DbxUserFilesRequests.uploadSessionFinish(UploadSessionCursor,CommitInfo).
Must not be null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public WriteError getReason()
null.public java.lang.String getUploadSessionId()
DbxUserFilesRequests.uploadSessionFinish(UploadSessionCursor,CommitInfo).null.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringMultiline()
The returned String may contain newlines.