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; } }