yuxc
2024-06-05 e6a35cef322110bdae782266dfac11eb4f7cdce1
Source/platformProject/vci-platform-web/src/main/java/com/vci/web/other/VciFileDownloadInfo.java
@@ -1,6 +1,6 @@
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;
@@ -63,13 +63,13 @@
        }
    }
    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);
    }
}