|
@@ -1,21 +0,0 @@
|
|
|
-package seecoder.devcloud.web.infrastructure;
|
|
|
|
|
-
|
|
|
|
|
-import org.springframework.validation.BindException;
|
|
|
|
|
-import org.springframework.web.bind.annotation.ControllerAdvice;
|
|
|
|
|
-import org.springframework.web.bind.annotation.ExceptionHandler;
|
|
|
|
|
-import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
-import seecoder.devcloud.web.model.vo.Response;
|
|
|
|
|
-
|
|
|
|
|
-import javax.validation.ConstraintViolationException;
|
|
|
|
|
-
|
|
|
|
|
-/**
|
|
|
|
|
- * @author PuHong Weng
|
|
|
|
|
- * @date 2021/3/18
|
|
|
|
|
- * @description:
|
|
|
|
|
- */
|
|
|
|
|
-@ControllerAdvice
|
|
|
|
|
-public class ValidationExceptionHandler {
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-}
|
|
|