javacommons/utils/src.s60/javaoslayer.cpp
changeset 23 98ccebc37403
parent 21 2a9601315dfc
child 35 85266cc22c7f
equal deleted inserted replaced
21:2a9601315dfc 23:98ccebc37403
   357 
   357 
   358     if (pDIR == NULL)
   358     if (pDIR == NULL)
   359     {
   359     {
   360         std::string errorMsg("Cannot read ROM ODC files: ");
   360         std::string errorMsg("Cannot read ROM ODC files: ");
   361         errorMsg.append(strerror(errno));
   361         errorMsg.append(strerror(errno));
       
   362         errorMsg.append(" : dir: ");
       
   363         errorMsg.append(aDirPath.c_str());
   362         ELOG(EUtils, errorMsg.c_str());
   364         ELOG(EUtils, errorMsg.c_str());
   363         throw ExceptionBase(errorMsg, __FILE__, __FUNCTION__, __LINE__);
   365         // Suppres error if no Java at all on device ROM.
   364     }
   366     }
   365 
   367 
   366     struct dirent* pDirEnt = readdir(pDIR);
   368     struct dirent* pDirEnt = readdir(pDIR);
   367     while (pDirEnt != NULL)
   369     while (pDirEnt != NULL)
   368     {
   370     {