Class ChatOperationFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.novomind.ecom.api.iagent.exception.OperationFailedException
com.novomind.ecom.api.iagent.exception.ChatOperationFailedException
- All Implemented Interfaces:
ChatProvider
,Serializable
- Direct Known Subclasses:
AgentChatCloseOperationFailedException
,SupervisorChatCloseOperationFailedException
Generic exception to be used for all kinds of errors
during API operations with a chat
- Since:
- 12.23
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChatOperationFailedException
(String message, Chat chat) ChatOperationFailedException
(String message, Throwable cause, Chat chat) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
chat
-
-
Constructor Details
-
ChatOperationFailedException
- Parameters:
message
- the error messagechat
- the chat of the failed operation- Since:
- 12.23
-
ChatOperationFailedException
- Parameters:
message
- the error messagecause
- the cause of the exceptionchat
- the chat of the failed operation- Since:
- 12.23
-
-
Method Details
-
getChat
Description copied from interface:ChatProvider
Returns the chat- Specified by:
getChat
in interfaceChatProvider
- Returns:
- the chat
- Since:
- 12.23
-