pull request #5999 according to review requests
This commit is contained in:
parent
c514934ee1
commit
15989d8c17
@ -48,8 +48,8 @@ template <typename Data> struct SharedMonitor
|
||||
}
|
||||
catch (const bi::interprocess_exception &exception)
|
||||
{
|
||||
auto message =
|
||||
boost::format("could not create directory or file '%1%' \n") % exception.what();
|
||||
auto message = boost::format("could not create for shared memory block '%1' the directory or file '%2%' \n") %
|
||||
+ (const char*)Data::name % exception.what();
|
||||
throw util::exception(message.str() + SOURCE_REF);
|
||||
}
|
||||
|
||||
@ -135,9 +135,9 @@ template <typename Data> struct SharedMonitor
|
||||
}
|
||||
catch (const bi::interprocess_exception &exception)
|
||||
{
|
||||
auto message =
|
||||
boost::format("could not create directory or file '%1%' \n") % exception.what();
|
||||
throw util::exception(message.str() + SOURCE_REF);
|
||||
auto message = boost::format("could not create for shared memory block '%1' the directory or file '%2%' \n") %
|
||||
+ (const char*)Data::name % exception.what();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user