public class UploadWriteFailed extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected WriteError | reason | 
| protected String | uploadSessionId | 
| Constructor and Description | 
|---|
| UploadWriteFailed(WriteError reason,
                 String uploadSessionId) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| WriteError | getReason()The reason why the file couldn't be saved. | 
| String | getUploadSessionId()The upload session ID; this may be used to retry the commit. | 
| int | hashCode() | 
| String | toString() | 
| String | toStringMultiline()Returns a String representation of this object formatted for easier
 readability. | 
protected final WriteError reason
protected final String uploadSessionId
public UploadWriteFailed(WriteError reason, String uploadSessionId)
reason - The reason why the file couldn't be saved. Must not be
     null.uploadSessionId - The upload session ID; this may be used to retry
     the commit. Must not be null.IllegalArgumentException - If any argument does not meet its
     preconditions.public WriteError getReason()
null.public String getUploadSessionId()
null.public String toStringMultiline()
The returned String may contain newlines.