com.iiifi.kite.boot.common.error.BaseExceptionTranslator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kite-boot Show documentation
Show all versions of kite-boot Show documentation
Spring Cloud Core Component Extension.
package com.iiifi.kite.boot.common.error;
import java.util.Set;
import com.iiifi.kite.common.result.Result;
import javax.validation.ConstraintViolation;
import com.iiifi.kite.common.result.SystemCode;
import org.springframework.validation.FieldError;
import org.springframework.validation.BindingResult;
import org.hibernate.validator.internal.engine.path.PathImpl;
/**
* 抽取共性 通用部分代码
* @author [email protected] 花朝
* @date 2018/8/18 12:59
*/
public abstract class BaseExceptionTranslator {
/**
* 处理 BindingResult
* @param result BindingResult
* @return Result
*/
protected Result
© 2015 - 2025 Weber Informatics LLC | Privacy Policy