类 GlobalException
java.lang.Object
cn.warpin.core.exception.GlobalException
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static StringemailContent(jakarta.servlet.http.HttpServletRequest request, org.springframework.web.method.HandlerMethod o, Exception ex, String[] customExMsg) 构造错误信息static String整理出错栈信息exception(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.web.method.HandlerMethod o, Exception ex, ResultException resultException) static StringgetRequestParams(jakarta.servlet.http.HttpServletRequest request) static StringgetUrl(jakarta.servlet.http.HttpServletRequest request) static booleanpushFrequency(Integer seconds)
-
字段详细资料
-
sdf
-
LOGUUID
- 另请参阅:
-
pushTime
private static long pushTime邮件推送频率限制
-
-
构造器详细资料
-
GlobalException
public GlobalException()
-
-
方法详细资料
-
exception
@ExceptionHandler(ResultException.class) @ResponseBody public Result exception(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.web.method.HandlerMethod o, Exception ex, ResultException resultException) -
errInfo
整理出错栈信息 -
emailContent
public static String emailContent(jakarta.servlet.http.HttpServletRequest request, org.springframework.web.method.HandlerMethod o, Exception ex, String[] customExMsg) 构造错误信息 -
getUrl
-
getRequestParams
-
pushFrequency
- 参数:
seconds-
-