package cn.huge.base.common.exception; /** * @title: Client外服务异常类 * @description: Client外服务异常类 * @company: hugeinfo * @author: liyj * @time: 2021-11-05 16:51:48 * @version: 1.0.0 */ public class ClientException extends ApplicationException { private static final long serialVersionUID = -917094867526324064L; public ClientException() { } public ClientException(String methodName, String message) { super("reqMeth="+methodName+",reqMsg="+message); } public ClientException(String methodName, String message, Throwable cause) { super("reqMeth="+methodName+",reqMsg="+message, cause); } public ClientException(String methodName, Throwable cause) { super("reqMeth="+methodName+",reqMsg="+cause.toString(), cause); } public ClientException(String message) { super(message); } public ClientException(Throwable cause) { super("reqMsg="+cause.toString(), cause); } public ClientException(Enum clazz, Throwable cause, Object... args) { super(clazz, cause, args); } public ClientException(Enum clazz, Object... args) { super(clazz, args); } } /** * -------------------_ooOoo_------------------- * ------------------o8888888o------------------ * ------------------88" . "88------------------ * ------------------(| -_- |)------------------ * ------------------O\ = /O------------------ * ---------------____/`---'\____--------------- * -------------.' \\| |// `.------------- * ------------/ \\||| : |||// \------------ * -----------/ _||||| -:- |||||- \----------- * -----------| | \\\ - /// | |----------- * -----------| \_| ''\---/'' | |----------- * -----------\ .-\__ `-` ___/-. /----------- * ---------___`. .' /--.--\ `. . __---------- * ------."" '< `.___\_<|>_/___.' >'"".------- * -----| | : `- \`.;`\ _ /`;.`/ - ` : | |----- * -----\ \ `-. \_ __\ /__ _/ .-` / /----- * ======`-.____`-.___\_____/___.-`____.-'====== * -------------------`=---=' * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * ---------佛祖保佑---hugeinfo---永无BUG---------- */