if (!internal)
{
SysTryReturn(NID_CNT, VerifyFilePathCompatibility(contentPath), null, E_INVALID_ARG,
- "[E_INVALID_ARG] %ls is not compatible.", contentPath.GetPointer());
+ "[E_INVALID_ARG] The path is not compatible.");
}
SysTryReturn(NID_CNT, _FileImpl::IsFileExist(contentPath), null, E_INVALID_ARG,
- "[E_INVALID_ARG] The file corresponding to contentPath could not be found.(%ls)", contentPath.GetPointer());
+ "[E_INVALID_ARG] The file corresponding to contentPath could not be found.");
// create object here as it needs to be passed to client in any case to make sure Get APIs do not crash
unique_ptr<ImageMetadata> pImageMetadata(new (nothrow) ImageMetadata());
ClearLastResult();
SysTryReturn(NID_CNT, VerifyFilePathCompatibility(contentPath), null, E_INVALID_ARG,
- "[E_INVALID_ARG] %ls is not compatible.", contentPath.GetPointer());
+ "[E_INVALID_ARG] The path is not compatible.");
SysTryReturn(NID_CNT, _FileImpl::IsFileExist(contentPath), null, E_INVALID_ARG,
"[E_INVALID_ARG] The file corresponding to contentPath could not be found.");
ClearLastResult();
SysTryReturn(NID_CNT, VerifyFilePathCompatibility(contentPath), null, E_INVALID_ARG,
- "[E_INVALID_ARG] %ls is not compatible.", contentPath.GetPointer());
+ "[E_INVALID_ARG] The path is not compatible.");
SysTryReturn(NID_CNT, _FileImpl::IsFileExist(contentPath), null, E_INVALID_ARG,
"[E_INVALID_ARG] The file corresponding to contentPath could not be found.");
if (!internal)
{
SysTryReturn(NID_CNT, VerifyFilePathCompatibility(contentPath), contentType, E_INVALID_ARG,
- "[E_INVALID_ARG] %ls is not compatible.", contentPath.GetPointer());
+ "[E_INVALID_ARG] The path is not compatible.");
}
SysTryReturn(NID_CNT, contentPath.GetLength() != 0, contentType, E_INVALID_ARG,
"[E_INVALID_ARG] The length of contentPath is 0.");