ludc
2023-06-13 5569ff5c185797bb159ea2c58a52a92815e18db9
Source/UBCS/ubcs-service-api/ubcs-util-api/src/main/java/com/vci/ubcs/starter/exception/VciBaseException.java
@@ -9,12 +9,14 @@
import com.vci.ubcs.starter.web.util.MessageUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springblade.core.log.exception.ServiceException;
import org.springframework.web.server.ServerErrorException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.text.MessageFormat;
public class VciBaseException extends RuntimeException {
public class VciBaseException extends ServiceException {
   private Logger log = LoggerFactory.getLogger(this.getClass());
   public static final String paramNull = "com.vci.base.paramNull";
   public static final String fieldValueRepeat = "com.vci.base.fieldValueRepeat";
@@ -31,16 +33,18 @@
   private Object[] objs = new Object[0];
   public VciBaseException(String code) {
      super(code);
      this.code = code;
   }
   public VciBaseException(String code, Object[] objs) {
      super(code);
      this.code = code;
      this.objs = objs;
   }
   public VciBaseException(String code, Object[] objs, Throwable e) {
      super(e);
      super(code);
      this.code = code;
      this.objs = objs;
   }