mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
24 lines
606 B
C++
24 lines
606 B
C++
#include "common/exceptions.hpp"
|
|
|
|
namespace xlnt {
|
|
|
|
sheet_title_exception::sheet_title_exception(const std::string &title)
|
|
: std::runtime_error(std::string("bad worksheet title: ") + title)
|
|
{
|
|
|
|
}
|
|
|
|
cell_coordinates_exception::cell_coordinates_exception(int row, int column)
|
|
: std::runtime_error(std::string("bad cell coordinates: (") + std::to_string(row) + "," + std::to_string(column) + ")")
|
|
{
|
|
|
|
}
|
|
|
|
cell_coordinates_exception::cell_coordinates_exception(const std::string &coord_string)
|
|
: std::runtime_error(std::string("bad cell coordinates: (") + coord_string + ")")
|
|
{
|
|
|
|
}
|
|
|
|
} // namespace xlnt
|