1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
| package com.iplatform.chat;
|
| import com.iplatform.base.PlatformRuntimeException;
|
| /**
| * 聊天运行异常定义。
| * @author 时克英
| * @date 2023-07-12
| */
| public class ChatRuntimeException extends PlatformRuntimeException {
| private long userId;
|
| public long getUserId() {
| return userId;
| }
|
| public long getCustomerService() {
| return customerService;
| }
|
| private long customerService;
|
| public ChatRuntimeException(String msg, Throwable caution){
| super(msg, caution);
| }
| public ChatRuntimeException(String msg){
| super(msg, null);
| }
|
| public ChatRuntimeException(String msg, Throwable caution, long userId, long customerService){
| super(msg, caution);
| this.userId = userId;
| this.customerService = customerService;
| }
| }
|
|