2014-06-06 04:19:31 +08:00
|
|
|
#include "common/exceptions.hpp"
|
2014-05-22 05:48:51 +08:00
|
|
|
|
|
|
|
namespace xlnt {
|
|
|
|
|
2014-06-06 04:19:31 +08:00
|
|
|
sheet_title_exception::sheet_title_exception(const std::string &title)
|
2014-05-22 05:48:51 +08:00
|
|
|
: std::runtime_error(std::string("bad worksheet title: ") + title)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2014-06-06 05:42:15 +08:00
|
|
|
column_string_index_exception::column_string_index_exception()
|
|
|
|
: std::runtime_error("")
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
data_type_exception::data_type_exception()
|
|
|
|
: std::runtime_error("")
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2014-05-31 06:42:25 +08:00
|
|
|
cell_coordinates_exception::cell_coordinates_exception(int row, int column)
|
2014-05-22 05:48:51 +08:00
|
|
|
: std::runtime_error(std::string("bad cell coordinates: (") + std::to_string(row) + "," + std::to_string(column) + ")")
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2014-05-31 06:42:25 +08:00
|
|
|
cell_coordinates_exception::cell_coordinates_exception(const std::string &coord_string)
|
2014-05-22 05:48:51 +08:00
|
|
|
: std::runtime_error(std::string("bad cell coordinates: (") + coord_string + ")")
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace xlnt
|