Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::stringstream errorMessage;
- errorMessage << "out of range access"
- << "tried to access " << x << ", " << y << ", " << z << ", " << w
- << std::endl << "but image dimensions are: " << width_ << ", " << height_ << ", " << depth_ << ", " << spektrum_
- << std::endl;
- throw std::out_of_range(errorMessage.str());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement