java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | com.salesforce.android.chat.core.exception.EmptyChatMessageException |
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 SensitiveDataRule
s
configured in your Salesforce Organization and scrubbing the message in accordance with those
rules has produced an
empty message.
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
|
A list of Sensitive Data Rules that were triggered as a result of the message contents.
SensitiveDataRules