mirror of https://gitee.com/maxjhandsome/pig
feat: 全局异常处理器GlobalExceptionHandlerResolver无法获取到demo微服务的异常文本信息
pigx全局异常处理器GlobalExceptionHandlerResolver能捕捉到自定义异常ValidateCodeException,但是e.getMessage()无法获取到文本信息; Closes #I140L5
This commit is contained in:
parent
2ea2e320ce
commit
425ab02786
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue