public class

EmptyChatMessageException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.salesforce.android.chat.core.exception.EmptyChatMessageException

Class Overview

Exception returned by sendChatMessage(String) via onError(Async.ErrorHandler) when attempting to send an empty chat message.

This may also be raised when the entirety of the message text violates SensitiveDataRules configured in your Salesforce Organization and scrubbing the message in accordance with those rules has produced an empty message.

Summary

Public Constructors
EmptyChatMessageException()
EmptyChatMessageException(SensitiveDataRule... triggeredSensitiveDataRules)
Public Methods
SensitiveDataRule[] getTriggeredSensitiveDataRules()
A list of Sensitive Data Rules that were triggered as a result of the message contents.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public EmptyChatMessageException ()

public EmptyChatMessageException (SensitiveDataRule... triggeredSensitiveDataRules)

Public Methods

public SensitiveDataRule[] getTriggeredSensitiveDataRules ()

A list of Sensitive Data Rules that were triggered as a result of the message contents.

Returns