| | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.alibaba.fastjson.serializer.SerializerFeature; |
| | | import com.vci.base.ui.exception.VCIException; |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.corba.common.VCIError; |
| | | import com.vci.corba.framework.data.UserEntityInfo; |
| | | import com.vci.rmip.framework.client.systemConfig.object.UserEntityObject; |
| | |
| | | setValueToField(key, cbo, value); |
| | | } |
| | | cbo.setAttributeValueWithNoCheck(key.toLowerCase(), value); |
| | | } catch (VCIError e) { |
| | | } catch (PLException e) { |
| | | throw WebUtil.getVciBaseException(e); |
| | | } |
| | | } |
| | |
| | | * @param e 异常对象 |
| | | * @return base异常对象 |
| | | */ |
| | | public static VciBaseException getVciBaseException(PLException e){ |
| | | return new VciBaseException(e.code, new java.lang.String[]{e.getMessage()}); |
| | | // return null; |
| | | } |
| | | |
| | | /** |
| | | * 转换异常 |
| | | * @param e 异常对象 |
| | | * @return base异常对象 |
| | | */ |
| | | public static VciBaseException getVciBaseException(VCIException e){ |
| | | String[] errorMsgs = new String[0]; |
| | | if(e != null && e.getException_objArray() !=null ){ |