com.base4j.util.exceptions.ValidateException Maven / Gradle / Ivy
The newest version!
package com.base4j.util.exceptions;
import com.base4j.util.StrUtil;
/**
* 验证异常
*
* @author xxx
*/
public class ValidateException extends RuntimeException {
private static final long serialVersionUID = 6057602589533840889L;
public ValidateException() {
}
public ValidateException(String msg) {
super(msg);
}
public ValidateException(String messageTemplate, Object... params) {
super(StrUtil.format(messageTemplate, params));
}
public ValidateException(Throwable throwable) {
super(throwable);
}
public ValidateException(String msg, Throwable throwable) {
super(msg, throwable);
}
}