12345678910111213141516171819 |
- #include "Errors.h"
- #include <stdexcept>
- #include "Text.h"
- void Framework::throwOutOfRange(
- const char* file, int line, int index, int count)
- {
- Framework::Text err = "Index out of Range Exception File: ";
- err += file;
- err += " Line: ";
- err += line;
- err += " Index: ";
- err += index;
- err += " Element count: ";
- err += count;
- throw std::out_of_range(err);
- }
|