12345678910111213141516 |
- #include "Errors.h"
- #include "Text.h"
- #include <stdexcept>
- void Framework::throwOutOfRange( const char *file, const char *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( (char *)err );
- }
|