| | |
| | | package com.vci.web.other; |
| | | |
| | | import com.vci.corba.common.VCIError; |
| | | import com.vci.corba.common.PLException; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.Map; |
| | |
| | | } |
| | | } |
| | | |
| | | public static void getDownloadErrorInfo(String clientPath) throws VCIError{ |
| | | public static void getDownloadErrorInfo(String clientPath) throws PLException { |
| | | Map<String,String> errorMap = getDownloadFileInfo(clientPath); |
| | | String errorMsg = ""; |
| | | String[] errorArray = errorMap.values().toArray(new String[0]); |
| | | VciFileDownloadInfo.removeDownloadFileInfo(clientPath); |
| | | errorMsg = errorArray[0] +(errorArray.length>1?(";另有" + errorArray.length + "个文件也出现了错误"):""); |
| | | throw new VCIError(errorMsg,errorArray); |
| | | throw new PLException(errorMsg,errorArray); |
| | | } |
| | | |
| | | } |