新增用户离线异常
This commit is contained in:
parent
64326b0f84
commit
22e82dfa75
@ -0,0 +1,31 @@
|
||||
package ink.wgink.exceptions.websocket;
|
||||
|
||||
/**
|
||||
* @ClassName: ToException
|
||||
* @Description:
|
||||
* @Author: wanggeng
|
||||
* @Date: 2021/12/7 11:52 AM
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public class ToException extends BaseSocketException{
|
||||
|
||||
public ToException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public ToException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public ToException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public ToException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public ToException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
|
||||
super(message, cause, enableSuppression, writableStackTrace);
|
||||
}
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
package ink.wgink.exceptions.websocket;
|
||||
|
||||
/**
|
||||
* When you feel like quitting. Think about why you started
|
||||
* 当你想要放弃的时候,想想当初你为何开始
|
||||
*
|
||||
* @ClassName: UserErrorException
|
||||
* @Description: 用户错误异常
|
||||
* @Author: wanggeng
|
||||
* @Date: 2021/1/14 12:51 下午
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public class UserException extends BaseSocketException {
|
||||
|
||||
public UserException() {
|
||||
}
|
||||
|
||||
public UserException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public UserException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public UserException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public UserException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
|
||||
super(message, cause, enableSuppression, writableStackTrace);
|
||||
}
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
package ink.wgink.exceptions.websocket;
|
||||
|
||||
/**
|
||||
* @ClassName: UserOffineException
|
||||
* @Description: 用户离线
|
||||
* @Author: wanggeng
|
||||
* @Date: 2021/12/7 11:09 AM
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public class UserOfflineException extends BaseSocketException {
|
||||
|
||||
public UserOfflineException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public UserOfflineException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public UserOfflineException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public UserOfflineException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public UserOfflineException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
|
||||
super(message, cause, enableSuppression, writableStackTrace);
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package ink.wgink.exceptions.websocket.useroffline;
|
||||
|
||||
import ink.wgink.exceptions.websocket.UserOfflineException;
|
||||
|
||||
/**
|
||||
* @ClassName: VideoMessageUserOfflineException
|
||||
* @Description:
|
||||
* @Author: wanggeng
|
||||
* @Date: 2021/12/7 2:35 PM
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public class RtcUserOfflineException extends UserOfflineException {
|
||||
|
||||
public RtcUserOfflineException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public RtcUserOfflineException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public RtcUserOfflineException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public RtcUserOfflineException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public RtcUserOfflineException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
|
||||
super(message, cause, enableSuppression, writableStackTrace);
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package ink.wgink.exceptions.websocket.useroffline;
|
||||
|
||||
import ink.wgink.exceptions.websocket.UserOfflineException;
|
||||
|
||||
/**
|
||||
* @ClassName: TextUserOfflineException
|
||||
* @Description: 文本消息用户离线
|
||||
* @Author: wanggeng
|
||||
* @Date: 2021/12/7 2:34 PM
|
||||
* @Version: 1.0
|
||||
*/
|
||||
public class TextUserOfflineException extends UserOfflineException {
|
||||
|
||||
public TextUserOfflineException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public TextUserOfflineException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public TextUserOfflineException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public TextUserOfflineException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public TextUserOfflineException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
|
||||
super(message, cause, enableSuppression, writableStackTrace);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user