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
,java.io.Serializable
- Direct Known Subclasses:
AgentChatCloseOperationFailedException
,SupervisorChatCloseOperationFailedException
public class ChatOperationFailedException extends OperationFailedException implements ChatProvider
Generic exception to be used for all kinds of errors during API operations with a chat- Since:
- 12.23
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChatOperationFailedException(java.lang.String message, Chat chat)
ChatOperationFailedException(java.lang.String message, java.lang.Throwable cause, Chat chat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Chat
getChat()
Returns the chat
-
-
-
Field Detail
-
chat
protected final transient Chat chat
-
-
Constructor Detail
-
ChatOperationFailedException
public ChatOperationFailedException(java.lang.String message, Chat chat)
- Parameters:
message
- the error messagechat
- the chat of the failed operation- Since:
- 12.23
-
ChatOperationFailedException
public ChatOperationFailedException(java.lang.String message, java.lang.Throwable cause, Chat chat)
- Parameters:
message
- the error messagecause
- the cause of the exceptionchat
- the chat of the failed operation- Since:
- 12.23
-
-
Method Detail
-
getChat
public Chat getChat()
Description copied from interface:ChatProvider
Returns the chat- Specified by:
getChat
in interfaceChatProvider
- Returns:
- the chat
- Since:
- 12.23
-
-