diff --git a/dbcon/ddlpackageproc/altertableprocessor.cpp b/dbcon/ddlpackageproc/altertableprocessor.cpp index d97fcc909..cefa6023d 100644 --- a/dbcon/ddlpackageproc/altertableprocessor.cpp +++ b/dbcon/ddlpackageproc/altertableprocessor.cpp @@ -356,7 +356,7 @@ AlterTableProcessor::DDLResult AlterTableProcessor::processPackage( { logging::Message::Args args; logging::Message message(9); - args.add("Unknown error occured while getting unique number."); + args.add("Unknown error occurred while getting unique number."); message.format(args); result.result = ALTER_ERROR; result.message = message; diff --git a/dbcon/ddlpackageproc/createtableprocessor.cpp b/dbcon/ddlpackageproc/createtableprocessor.cpp index c11230eee..77263ad1c 100644 --- a/dbcon/ddlpackageproc/createtableprocessor.cpp +++ b/dbcon/ddlpackageproc/createtableprocessor.cpp @@ -215,7 +215,7 @@ CreateTableProcessor::DDLResult CreateTableProcessor::processPackage( { Message::Args args; Message message(9); - args.add("Unknown error occured while getting unique number."); + args.add("Unknown error occurred while getting unique number."); message.format(args); result.result = CREATE_ERROR; result.message = message; diff --git a/dbcon/ddlpackageproc/droppartitionprocessor.cpp b/dbcon/ddlpackageproc/droppartitionprocessor.cpp index db7242820..dbf297e20 100644 --- a/dbcon/ddlpackageproc/droppartitionprocessor.cpp +++ b/dbcon/ddlpackageproc/droppartitionprocessor.cpp @@ -100,7 +100,7 @@ DropPartitionProcessor::DDLResult DropPartitionProcessor::processPackage( { logging::Message::Args args; logging::Message message(9); - args.add("Unknown error occured while getting unique number."); + args.add("Unknown error occurred while getting unique number."); message.format(args); result.result = ALTER_ERROR; result.message = message; diff --git a/dbcon/ddlpackageproc/droptableprocessor.cpp b/dbcon/ddlpackageproc/droptableprocessor.cpp index 8912a2f35..d40aac3f2 100644 --- a/dbcon/ddlpackageproc/droptableprocessor.cpp +++ b/dbcon/ddlpackageproc/droptableprocessor.cpp @@ -114,7 +114,7 @@ DropTableProcessor::DDLResult DropTableProcessor::processPackage( { Message::Args args; Message message(9); - args.add("Unknown error occured while getting unique number."); + args.add("Unknown error occurred while getting unique number."); message.format(args); result.result = DROP_ERROR; result.message = message; @@ -818,7 +818,7 @@ TruncTableProcessor::DDLResult TruncTableProcessor::processPackage( { Message::Args args; Message message(9); - args.add("Unknown error occured while getting unique number."); + args.add("Unknown error occurred while getting unique number."); message.format(args); result.result = DROP_ERROR; result.message = message; diff --git a/dbcon/dmlpackageproc/deletepackageprocessor.cpp b/dbcon/dmlpackageproc/deletepackageprocessor.cpp index 7e907a97f..abe88fbac 100644 --- a/dbcon/dmlpackageproc/deletepackageprocessor.cpp +++ b/dbcon/dmlpackageproc/deletepackageprocessor.cpp @@ -93,7 +93,7 @@ DMLPackageProcessor::DMLResult DeletePackageProcessor::processPackage(dmlpackage { logging::Message::Args args; logging::Message message(9); - args.add("Unknown error occured while getting unique number."); + args.add("Unknown error occurred while getting unique number."); message.format(args); result.result = DELETE_ERROR; result.message = message; diff --git a/dbcon/dmlpackageproc/dmlpackageprocessor.cpp b/dbcon/dmlpackageproc/dmlpackageprocessor.cpp index 5ca7028a2..0f49bc215 100644 --- a/dbcon/dmlpackageproc/dmlpackageprocessor.cpp +++ b/dbcon/dmlpackageproc/dmlpackageprocessor.cpp @@ -363,7 +363,7 @@ int DMLPackageProcessor::rollBackTransaction(uint64_t uniqueId, BRM::TxnID txnID catch (std::exception& e) { rc = NETWORK_ERROR; - errorMsg = "Network error occured when rolling back blocks"; + errorMsg = "Network error occurred when rolling back blocks"; errorMsg += e.what(); fWEClient->removeQueue(uniqueId); cout << "erroring out remove queue id " << uniqueId << endl; diff --git a/dbcon/dmlpackageproc/insertpackageprocessor.cpp b/dbcon/dmlpackageproc/insertpackageprocessor.cpp index e015544cc..6257a3aed 100644 --- a/dbcon/dmlpackageproc/insertpackageprocessor.cpp +++ b/dbcon/dmlpackageproc/insertpackageprocessor.cpp @@ -100,7 +100,7 @@ DMLPackageProcessor::DMLResult InsertPackageProcessor::processPackage(dmlpackage { logging::Message::Args args; logging::Message message(9); - args.add("Unknown error occured while getting unique number."); + args.add("Unknown error occurred while getting unique number."); message.format(args); result.result = INSERT_ERROR; result.message = message; diff --git a/dbcon/dmlpackageproc/updatepackageprocessor.cpp b/dbcon/dmlpackageproc/updatepackageprocessor.cpp index 9eb8fb64c..35b4cb166 100644 --- a/dbcon/dmlpackageproc/updatepackageprocessor.cpp +++ b/dbcon/dmlpackageproc/updatepackageprocessor.cpp @@ -98,7 +98,7 @@ DMLPackageProcessor::DMLResult UpdatePackageProcessor::processPackage(dmlpackage { logging::Message::Args args; logging::Message message(9); - args.add("Unknown error occured while getting unique number."); + args.add("Unknown error occurred while getting unique number."); message.format(args); result.result = UPDATE_ERROR; result.message = message; diff --git a/dbcon/execplan/calpontsystemcatalog.cpp b/dbcon/execplan/calpontsystemcatalog.cpp index 0c5d76ec4..0d844164f 100644 --- a/dbcon/execplan/calpontsystemcatalog.cpp +++ b/dbcon/execplan/calpontsystemcatalog.cpp @@ -805,7 +805,7 @@ void CalpontSystemCatalog::getSysData(CalpontSelectExecutionPlan& csep, NJLSysDa getSysData_FE(csep, sysDataList, sysTableName); break; } - catch (IDBExcept&) // error already occured. this is not a broken pipe + catch (IDBExcept&) // error already occurred. this is not a broken pipe { throw; } @@ -827,7 +827,7 @@ void CalpontSystemCatalog::getSysData(CalpontSelectExecutionPlan& csep, NJLSysDa } if (tryCnt >= 5) - // throw runtime_error("Error occured when calling system catalog. ExeMgr is not functioning."); + // throw runtime_error("Error occurred when calling system catalog. ExeMgr is not functioning."); throw IDBExcept(ERR_SYSTEM_CATALOG); } @@ -856,7 +856,7 @@ void CalpontSystemCatalog::getSysData_EC(CalpontSelectExecutionPlan& csep, NJLSy while (jl->status() != 0) { if (retryNum >= 6) - throw runtime_error("Error occured when calling makeJobList"); + throw runtime_error("Error occurred when calling makeJobList"); sleep(1); jl = JobListFactory::makeJobList(&csep, rm, dummyPrimitiveServerThreadPools, true); @@ -866,13 +866,13 @@ void CalpontSystemCatalog::getSysData_EC(CalpontSelectExecutionPlan& csep, NJLSy if (jl->status() != 0 || jl->putEngineComm(fEc) != 0) { string emsg = jl->errMsg(); - throw runtime_error("Error occured when calling system catalog (1). " + emsg); + throw runtime_error("Error occurred when calling system catalog (1). " + emsg); } if (jl->doQuery() != 0) { throw runtime_error( - "Error occured when calling system catalog (2). Make sure all processes are running."); + "Error occurred when calling system catalog (2). Make sure all processes are running."); } TupleJobList* tjlp = dynamic_cast(jl.get()); diff --git a/dbcon/execplan/objectidmanager.cpp b/dbcon/execplan/objectidmanager.cpp index 390e504d8..453ce8b46 100644 --- a/dbcon/execplan/objectidmanager.cpp +++ b/dbcon/execplan/objectidmanager.cpp @@ -32,7 +32,7 @@ * This class must implement a high degree of correctness. However, it * also requires file IO. Most functions throw an exception if a hard IO error * occurs more than MaxRetries times in a row. Right now the code makes - * no attempt to back out changes that occured before the error although it + * no attempt to back out changes that occurred before the error although it * may be possible to do so for certain errors. Probably the best course of * action would be to halt the system if an exception is thrown here * to prevent database corruption resulting allocation of OIDs from a diff --git a/dbcon/execplan/returnedcolumn.h b/dbcon/execplan/returnedcolumn.h index f79caf580..aa1851824 100644 --- a/dbcon/execplan/returnedcolumn.h +++ b/dbcon/execplan/returnedcolumn.h @@ -370,7 +370,7 @@ class ReturnedColumn : public TreeNode } protected: - std::string fErrMsg; /// error occured in evaluation + std::string fErrMsg; /// error occurred in evaluation uint32_t fInputIndex; /// index to the input rowgroup uint32_t fOutputIndex; /// index to the output rowgroup uint32_t fExpressionId; /// unique id for this expression diff --git a/dbcon/mysql/ha_exists_sub.cpp b/dbcon/mysql/ha_exists_sub.cpp index da934318d..a97abfa44 100644 --- a/dbcon/mysql/ha_exists_sub.cpp +++ b/dbcon/mysql/ha_exists_sub.cpp @@ -122,7 +122,7 @@ execplan::ParseTree* ExistsSub::transform() if (gwi.fatalParseError && !gwi.parseErrorText.empty()) fGwip.parseErrorText = gwi.parseErrorText; else - fGwip.parseErrorText = "Error occured in ExistsSub::transform()"; + fGwip.parseErrorText = "Error occurred in ExistsSub::transform()"; return NULL; } diff --git a/dbcon/mysql/ha_from_sub.cpp b/dbcon/mysql/ha_from_sub.cpp index c836a5cd6..9013c8fe6 100644 --- a/dbcon/mysql/ha_from_sub.cpp +++ b/dbcon/mysql/ha_from_sub.cpp @@ -438,7 +438,7 @@ SCSEP FromSubQuery::transform() if (!gwi.parseErrorText.empty()) fGwip.parseErrorText = gwi.parseErrorText; else - fGwip.parseErrorText = "Error occured in FromSubQuery::transform()"; + fGwip.parseErrorText = "Error occurred in FromSubQuery::transform()"; csep.reset(); return csep; diff --git a/dbcon/mysql/ha_in_sub.cpp b/dbcon/mysql/ha_in_sub.cpp index df4017165..989e06ad5 100644 --- a/dbcon/mysql/ha_in_sub.cpp +++ b/dbcon/mysql/ha_in_sub.cpp @@ -188,7 +188,7 @@ execplan::ParseTree* InSub::transform() if (gwi.fatalParseError && !gwi.parseErrorText.empty()) fGwip.parseErrorText = gwi.parseErrorText; else - fGwip.parseErrorText = "Error occured in InSub::transform()"; + fGwip.parseErrorText = "Error occurred in InSub::transform()"; return NULL; } diff --git a/dbcon/mysql/ha_mcs_ddl.cpp b/dbcon/mysql/ha_mcs_ddl.cpp index e6d8e58a7..d3579e602 100644 --- a/dbcon/mysql/ha_mcs_ddl.cpp +++ b/dbcon/mysql/ha_mcs_ddl.cpp @@ -2174,7 +2174,7 @@ int ProcessDDLStatement(string& ddlStatement, string& schema, const string& tabl { rc = 0; string errmsg( - "Error occured during file deletion. Restart DDLProc or use command tool ddlcleanup to clean up. "); + "Error occurred during file deletion. Restart DDLProc or use command tool ddlcleanup to clean up. "); push_warning(thd, Sql_condition::WARN_LEVEL_WARN, 9999, errmsg.c_str()); } diff --git a/dbcon/mysql/ha_mcs_partition.cpp b/dbcon/mysql/ha_mcs_partition.cpp index 2c1efadc4..65fb95c70 100644 --- a/dbcon/mysql/ha_mcs_partition.cpp +++ b/dbcon/mysql/ha_mcs_partition.cpp @@ -286,7 +286,7 @@ int processPartition(SqlStatement* stmt) { rc = 0; string errmsg( - "Error occured during partitioning operation. Restart DMLProc or use command tool ddlcleanup to " + "Error occurred during partitioning operation. Restart DMLProc or use command tool ddlcleanup to " "clean up. "); push_warnings(thd, errmsg); } @@ -462,7 +462,7 @@ void partitionByValue_common(UDF_ARGS* args, // inp } catch (...) { - errMsg = string("Error occured when calling ") + functionName; + errMsg = string("Error occurred when calling ") + functionName; return; } @@ -655,7 +655,7 @@ extern "C" catch (...) { current_thd->get_stmt_da()->set_overwrite_status(true); - current_thd->raise_error_printf(ER_INTERNAL_ERROR, "Error occured when calling CALSHOWPARTITIONS"); + current_thd->raise_error_printf(ER_INTERNAL_ERROR, "Error occurred when calling CALSHOWPARTITIONS"); return result; } @@ -1287,7 +1287,7 @@ extern "C" catch (...) { current_thd->get_stmt_da()->set_overwrite_status(true); - current_thd->raise_error_printf(ER_INTERNAL_ERROR, "Error occured when calling CALSHOWPARTITIONS"); + current_thd->raise_error_printf(ER_INTERNAL_ERROR, "Error occurred when calling CALSHOWPARTITIONS"); return result; } diff --git a/dbcon/mysql/ha_mcs_pushdown.cpp b/dbcon/mysql/ha_mcs_pushdown.cpp index b57147d00..3cf0d025e 100644 --- a/dbcon/mysql/ha_mcs_pushdown.cpp +++ b/dbcon/mysql/ha_mcs_pushdown.cpp @@ -846,7 +846,7 @@ select_handler* create_columnstore_select_handler_(THD* thd, SELECT_LEX* sel_lex { if (!thd->is_error()) { - my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occured in select_lex::handle_derived()"); + my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occurred in select_lex::handle_derived()"); } return handler; @@ -910,7 +910,7 @@ select_handler* create_columnstore_select_handler_(THD* thd, SELECT_LEX* sel_lex // error out if (!thd->is_error()) { - my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occured in handler->prepare()"); + my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occurred in handler->prepare()"); } return handler; @@ -972,7 +972,7 @@ select_handler* create_columnstore_select_handler_(THD* thd, SELECT_LEX* sel_lex { if (!thd->is_error()) { - my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occured in get_schema_tables_result()"); + my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occurred in get_schema_tables_result()"); } return handler; @@ -1015,7 +1015,7 @@ select_handler* create_columnstore_select_handler_(THD* thd, SELECT_LEX* sel_lex if (!thd->is_error()) { - my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occured in ha_mcs_impl_pushdown_init()"); + my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occurred in ha_mcs_impl_pushdown_init()"); } // We had an error in `ha_mcs_impl_pushdown_init`, no need to continue execution of this query. diff --git a/dbcon/mysql/ha_scalar_sub.cpp b/dbcon/mysql/ha_scalar_sub.cpp index 34afa4aea..c1014c9f4 100644 --- a/dbcon/mysql/ha_scalar_sub.cpp +++ b/dbcon/mysql/ha_scalar_sub.cpp @@ -262,7 +262,7 @@ execplan::ParseTree* ScalarSub::buildParseTree(PredicateOperator* op) if (!gwi.fatalParseError) { fGwip.fatalParseError = true; - fGwip.parseErrorText = "Error occured in ScalarSub::transform()"; + fGwip.parseErrorText = "Error occurred in ScalarSub::transform()"; } else { diff --git a/dbcon/mysql/ha_select_sub.cpp b/dbcon/mysql/ha_select_sub.cpp index 2bce37765..5a83e245b 100644 --- a/dbcon/mysql/ha_select_sub.cpp +++ b/dbcon/mysql/ha_select_sub.cpp @@ -84,7 +84,7 @@ SCSEP SelectSubQuery::transform() if (!gwi.fatalParseError) { fGwip.fatalParseError = true; - fGwip.parseErrorText = "Error occured in SelectSubQuery::transform()"; + fGwip.parseErrorText = "Error occurred in SelectSubQuery::transform()"; } else { diff --git a/dmlproc/dmlprocessor.cpp b/dmlproc/dmlprocessor.cpp index 36b16a94c..638b83c02 100644 --- a/dmlproc/dmlprocessor.cpp +++ b/dmlproc/dmlprocessor.cpp @@ -839,7 +839,7 @@ void PackageHandler::run() } else { - // error occured. Receive all outstanding messages before erroring out. + // error occurred. Receive all outstanding messages before erroring out. batchProcessor->receiveOutstandingMsg(); batchProcessor->sendlastBatch(); // needs to flush files batchProcessor->receiveAllMsg(); diff --git a/storage-manager/src/SessionManager.cpp b/storage-manager/src/SessionManager.cpp index 593e4255e..e8b06cf2c 100644 --- a/storage-manager/src/SessionManager.cpp +++ b/storage-manager/src/SessionManager.cpp @@ -367,7 +367,7 @@ int SessionManager::start() //Doing this to work with cloudio_component_test len = ::read(fds[socketIncr].fd, out, recvMsgLength); logger->log(LOG_DEBUG,"Read %d bytes.",len); - //Debug test lets send a reponse back + //Debug test lets send a response back uint32_t response[4] = { storagemanager::SM_MSG_START, 8, (uint32_t ) -1, EINVAL }; len = ::send(fds[socketIncr].fd, response, 16, 0); */ diff --git a/utils/loggingcpp/ErrorMessage.txt b/utils/loggingcpp/ErrorMessage.txt index 64c519865..8b18aa32f 100755 --- a/utils/loggingcpp/ErrorMessage.txt +++ b/utils/loggingcpp/ErrorMessage.txt @@ -92,7 +92,7 @@ # disk-based join runtime errors from supported queries 2048 ERR_DBJ_FILE_IO_ERROR There was an IO error doing a disk-based join. -2049 ERR_DBJ_UNKNOWN_ERROR An unknown error error occured doing a disk-based join. Check the error log & contact support. +2049 ERR_DBJ_UNKNOWN_ERROR An unknown error error occurred doing a disk-based join. Check the error log & contact support. 2050 ERR_DBJ_DISK_USAGE_LIMIT This query exceeded the temp disk usage limit. Raise columnstore_diskjoin_smallsidelimit if possible and try again. 2051 ERR_DBJ_DATA_DISTRIBUTION The data distribution in this query overflowed a disk-based join bucket. If possible, raise columnstore_diskjoin_bucketsize and try again. 2052 INFO_SWITCHING_TO_DJS Out of UM memory, switching to disk-based join. diff --git a/versioning/BRM/oidserver.cpp b/versioning/BRM/oidserver.cpp index 3fdd709dd..408e2a356 100644 --- a/versioning/BRM/oidserver.cpp +++ b/versioning/BRM/oidserver.cpp @@ -32,7 +32,7 @@ * This class must implement a high degree of correctness. However, it * also requires file IO. Most functions throw an exception if a hard IO error * occurs more than MaxRetries times in a row. Right now the code makes - * no attempt to back out changes that occured before the error although it + * no attempt to back out changes that occurred before the error although it * may be possible to do so for certain errors. Probably the best course of * action would be to halt the system if an exception is thrown here * to prevent database corruption resulting allocation of OIDs from a diff --git a/versioning/BRM/slavenode.cpp b/versioning/BRM/slavenode.cpp index 071132a30..db66e4309 100644 --- a/versioning/BRM/slavenode.cpp +++ b/versioning/BRM/slavenode.cpp @@ -131,7 +131,7 @@ int ServiceWorkerNode::Child() catch (exception& e) { ostringstream os; - os << "An error occured: " << e.what(); + os << "An error occurred: " << e.what(); cerr << os.str() << endl; log(os.str()); NotifyServiceInitializationFailed(); diff --git a/versioning/BRM/vbbm.cpp b/versioning/BRM/vbbm.cpp index 52af60cbd..d490783eb 100644 --- a/versioning/BRM/vbbm.cpp +++ b/versioning/BRM/vbbm.cpp @@ -664,7 +664,7 @@ void VBBM::getBlocks(int num, OID_t vbOID, vector& freeRanges, VSS& vss { ostringstream msg; msg << "VBBM::getBlocks(): version buffer overflow. Increase VersionBufferFileSize. Overflow " - "occured in aged blocks. Requested NumBlocks:VbOid:vbFBO:lastFBO = " + "occurred in aged blocks. Requested NumBlocks:VbOid:vbFBO:lastFBO = " << num << ":" << vbOID << ":" << firstFBO << ":" << lastFBO << " lbid locked is " << storage[i].lbid << endl; log(msg.str(), logging::LOG_TYPE_CRITICAL); diff --git a/writeengine/server/we_dataloader.cpp b/writeengine/server/we_dataloader.cpp index 396a1fefa..25ae1fbe8 100644 --- a/writeengine/server/we_dataloader.cpp +++ b/writeengine/server/we_dataloader.cpp @@ -958,7 +958,7 @@ void WEDataLoader::onReceiveEod(ByteStream& Ibs) aLock.unlock(); // if(( 1 == getMode())||( 2 == getMode())) - if (1 == getMode()) // BUG 4370 - seperated mode 1 & 2 + if (1 == getMode()) // BUG 4370 - separated mode 1 & 2 { // if(getChPid()) teardownCpimport(false); // @bug 4267 if (getChPid()) diff --git a/writeengine/shared/we_convertor.cpp b/writeengine/shared/we_convertor.cpp index 2bda33251..9ae0784b8 100644 --- a/writeengine/shared/we_convertor.cpp +++ b/writeengine/shared/we_convertor.cpp @@ -830,11 +830,11 @@ int Convertor::getCorrectRowWidth(CalpontSystemCatalog::ColDataType dataType, in * dmFilePathArgs* INPUT/OUTPUT -- Points to a buffer structure * * RETURN: - * return 0 if everything went OK. -1 if an error occured. Two + * return 0 if everything went OK. -1 if an error occurred. Two * kinds of errors are possible: * * - a null pointer was passed in - * - truncation occured. + * - truncation occurred. * * If a null buffer pointer is passed in, a return code * of -1 will be returned FOR THAT BUFFER. @@ -908,7 +908,7 @@ int Convertor::dmOid2FPath(uint32_t oid, uint32_t partition, uint32_t segment, d * segment OUTPUT -- segment for the given filename. * * RETURN: - * return 0 if everything went OK. -1 if an error occured. + * return 0 if everything went OK. -1 if an error occurred. ******************************************************************************/ int32_t Convertor::dmFPath2Oid(const dmFilePathArgs_t& pArgs, uint32_t& oid, uint32_t& partition, uint32_t& segment) diff --git a/writeengine/shared/we_define.cpp b/writeengine/shared/we_define.cpp index 9d8abcdc0..382b49456 100644 --- a/writeengine/shared/we_define.cpp +++ b/writeengine/shared/we_define.cpp @@ -89,7 +89,7 @@ WErrorCodes::WErrorCodes() : fErrorCodes() fErrorCodes[ERR_STRUCT_VALUE_NOT_MATCH] = " the number of structs does not match with the number of value sets"; fErrorCodes[ERR_ROWID_VALUE_NOT_MATCH] = " the number of rowids does not match with the number of values"; - fErrorCodes[ERR_TBL_SYSCAT_ERROR] = "Error occured when querying systemcatalog."; + fErrorCodes[ERR_TBL_SYSCAT_ERROR] = "Error occurred when querying systemcatalog."; // index error fErrorCodes[ERR_IDX_TREE_MOVE_ENTRY] = " an error in moving part of an index tree to a new subblock"; diff --git a/writeengine/splitter/we_filereadthread.cpp b/writeengine/splitter/we_filereadthread.cpp index 99777dc3c..ac7e84d65 100644 --- a/writeengine/splitter/we_filereadthread.cpp +++ b/writeengine/splitter/we_filereadthread.cpp @@ -204,7 +204,7 @@ void WEFileReadThread::setup(std::string FileName) catch (std::exception& ex) { // cout << ex.what() << endl; - // throw runtime_error("Exception occured in WEFileReadThread\n"); + // throw runtime_error("Exception occurred in WEFileReadThread\n"); throw runtime_error(ex.what()); }