AttachmentUploadError

public final class AttachmentUploadError extends RuntimeChatException

Exception reported when the SDK was unable to upload supplied attachment.

Parameters

cause

In case of networking error it will be java.io.IOException or java.lang.RuntimeException, in case of backend error it will be InvalidStateException.

Properties

Link copied to clipboard
private final String attachmentName

Name of file as it was specified in the com.nice.cxonechat.message.ContentDescriptor.fileName supplied for upload.

Link copied to clipboard
private final Throwable cause
Link copied to clipboard
private final String localizedMessage
Link copied to clipboard
private final String message
Link copied to clipboard
Link copied to clipboard
private final Array<Throwable> suppressed

Functions

Link copied to clipboard
public final Unit addSuppressed(Throwable exception)
Link copied to clipboard
Link copied to clipboard
public final String getAttachmentName()

Name of file as it was specified in the com.nice.cxonechat.message.ContentDescriptor.fileName supplied for upload.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public String getMessage()
Link copied to clipboard
Link copied to clipboard
public final Array<Throwable> getSuppressed()
Link copied to clipboard
public Throwable initCause(Throwable cause)
Link copied to clipboard
Link copied to clipboard