feat: 全局异常处理器GlobalExceptionHandlerResolver无法获取到demo微服务的异常文本信息

pigx全局异常处理器GlobalExceptionHandlerResolver能捕捉到自定义异常ValidateCodeException,但是e.getMessage()无法获取到文本信息;

Closes #I140L5
This commit is contained in:
冷冷 2019-10-26 13:50:38 +08:00
parent 2ea2e320ce
commit 425ab02786
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ package com.pig4cloud.pig.common.core.exception;
* @author lengleng
* @date 2018年06月22日16:22:15
*/
public class ValidateCodeException extends Exception {
public class ValidateCodeException extends RuntimeException {
private static final long serialVersionUID = -7285211528095468156L;
public ValidateCodeException() {