try {
d_read = xbt_parse_get_bandwidth("", 0, read_bandwidth.c_str(), nullptr, "");
} catch (const simgrid::ParseError&) {
throw std::invalid_argument(std::string("Impossible to create disk: ") + name +
std::string(". Invalid read bandwidth: ") + read_bandwidth);
}
try {
d_read = xbt_parse_get_bandwidth("", 0, read_bandwidth.c_str(), nullptr, "");
} catch (const simgrid::ParseError&) {
throw std::invalid_argument(std::string("Impossible to create disk: ") + name +
std::string(". Invalid read bandwidth: ") + read_bandwidth);
}