Home
last modified time | relevance | path

Searched refs:errorMsg (Results 1 – 13 of 13) sorted by relevance

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DValidateUtils.java37 …public static void throwIfNotMatches(boolean isMatch, ERROR error, String errorMsg) throws CustomE… in throwIfNotMatches() argument
39 CustomException.throwException(error, errorMsg); in throwIfNotMatches()
50 …public static void throwIfMatches(boolean isMatch, ERROR error, String errorMsg) throws CustomExce… in throwIfMatches() argument
51 throwIfNotMatches(!isMatch, error, errorMsg); in throwIfMatches()
DCertUtils.java163 …String errorMsg = String.format("Format error, must be \"X=xx,XX=xxx,...\", please check: \"%s\"",… in checkDN() local
164 … ValidateUtils.throwIfNotMatches(!StringUtils.isEmpty(nameString), ERROR.COMMAND_ERROR, errorMsg); in checkDN()
167 …ateUtils.throwIfNotMatches(!StringUtils.isEmpty(nameString.trim()), ERROR.COMMAND_ERROR, errorMsg); in checkDN()
169 … ValidateUtils.throwIfNotMatches(kvPair.length == SECOND_INDEX, ERROR.COMMAND_ERROR, errorMsg); in checkDN()
171 …dateUtils.throwIfNotMatches(!StringUtils.isEmpty(kvPair[1].trim()), ERROR.COMMAND_ERROR, errorMsg); in checkDN()
/developtools/profiler/device/base/test/unittest/
Dcommon_test.cpp36 std::string errorMsg = GetErrorMsg(); in WriteFile() local
37 … HILOG_ERROR(LOG_CORE, "WriteFile: fopen() fail, %s, %s", filePath.c_str(), errorMsg.c_str()); in WriteFile()
43 std::string errorMsg = GetErrorMsg(); in WriteFile() local
44 HILOG_ERROR(LOG_CORE, "WriteFile: fwrite() fail, %s", errorMsg.c_str()); in WriteFile()
50 std::string errorMsg = GetErrorMsg(); in WriteFile() local
51 HILOG_ERROR(LOG_CORE, "WriteFile: fflush() error = %s", errorMsg.c_str()); in WriteFile()
58 std::string errorMsg = GetErrorMsg(); in WriteFile() local
59 HILOG_ERROR(LOG_CORE, "CreateConfigFile: fclose() error = %s", errorMsg.c_str()); in WriteFile()
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/
Dcheck_import_module.ts34 const errorMsg: string = compilerOptions.isCompatibleVersion ? constant
40 …ompilerOptions.isCompatibleVersion ? logger.warn(yellow + errorMsg) : logger.error(red + errorMsg);
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/
DVerifyHelper.java106 String errorMsg = "Verify failed, not found cert chain"; in certStoreToCertList() local
108 ValidateUtils.throwIfMatches(certificates == null, ERROR.VERIFY_ERROR, errorMsg); in certStoreToCertList()
111 ERROR.VERIFY_ERROR, errorMsg); in certStoreToCertList()
122 CustomException.throwException(ERROR.VERIFY_ERROR, errorMsg); in certStoreToCertList()
124 ValidateUtils.throwIfMatches(certificateList.size() == 0, ERROR.VERIFY_ERROR, errorMsg); in certStoreToCertList() local
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/
DVerifyAndParseProvision.java48 String errorMsg = "Check input provision file failed!"; in verifyAndParseProvision() local
49 LOGGER.error(errorMsg); in verifyAndParseProvision()
DVerifyHap.java248 String errorMsg = "ZIP64 format not supported!"; in verifyHap() local
249 LOGGER.error(errorMsg); in verifyHap()
250 return new VerifyResult(false, VerifyResult.RET_UNSUPPORTED_FORMAT_ERROR, errorMsg); in verifyHap()
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/
Dmodule_source_file.ts158 const errorMsg: string = `ArkTS:ERROR ArkTS:ERROR File: ${this.moduleId}\n` constant
160 ModuleSourceFile.logger.error('\u001b[31m' + errorMsg);
210 …const errorMsg: string = `ArkTS:ERROR ArkTS:ERROR File: ${this.moduleId}:${line + 1}:${character +… constant
212 ModuleSourceFile.logger.error('\u001b[31m' + errorMsg);
Dmodule_mode.ts503 worker.on('message', (errorMsg) => {
504 this.logger.error(red, errorMsg.data.toString(), reset);
/developtools/profiler/device/services/profiler_service/src/
Dtrace_file_writer.cpp267 std::string errorMsg = COMMON::GetErrorMsg(); in LogDiskUsage() local
268 …OR(LOG_CORE, "LogDiskUsage() return %d, path:%s, msg:%s", ret, diskPath.c_str(), errorMsg.c_str()); in LogDiskUsage()
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/bundle/
Dbundle_mode.ts277 worker.on('message', (errorMsg) => {
278 this.logger.error(red, errorMsg.data.toString(), reset);
/developtools/profiler/device/base/src/
Dcommon.cpp461 std::string errorMsg(buffer); in GetErrorMsg() local
462 return errorMsg; in GetErrorMsg()
/developtools/packing_tool/adapter/ohos/
DCompressor.java1100 String errorMsg = "Compressor:selectHapInApp failed, app has no pack.info."; in selectHapInApp() local
1101 LOG.error(errorMsg); in selectHapInApp()
1102 throw new BundleException(errorMsg); in selectHapInApp()