10 #ifndef BPPIMAGEERRORS_HPP 11 #define BPPIMAGEERRORS_HPP 13 #include <boost/exception/exception.hpp> 14 #include <boost/exception/info.hpp> 24 struct ImageError :
virtual std::exception,
virtual boost::exception { };
87 typedef boost::error_info<struct Info_ArchiveImageName, std::string>
95 typedef boost::error_info<struct Info_ImageArcFileName, std::string>
101 typedef boost::error_info<struct Info_ImageArcName, std::uint32_t>
112 typedef boost::error_info<struct Info_String, std::string>
String;
117 typedef boost::error_info<struct Info_Character, char32_t>
Character;
138 typedef boost::error_info<struct Info_FontName, std::string>
FontName;
142 #endif // #ifndef BPPIMAGEERRORS_HPP The base class for errors related to the use of images.
boost::error_info< struct Info_ArchiveImageName, std::string > ImageArchiveImageName
The name of the image involved in an ImageArchiveError.
The maximum size of a BppStringCache is zero.
The base class for errors resulting from the attempt to read an image archive stream or file...
A specified font is not present in the font pool.
Data with an image to parse was too short to hold the image.
A given string cache does not correspond to the given font.
boost::error_info< struct Info_ImageArcFileName, std::string > ImageArchiveFileName
The name of the image archive file involved in an ImageArchiveStreamError.
The base class for errors related to the use of image archives.
boost::error_info< struct Info_String, std::string > String
A string, like one requested for rendering in a specific font.
The stream appears to end early.
boost::error_info< struct Info_ImageArcName, std::uint32_t > ImageArchiveVersion
The name of the image involved in an ImageArchiveError.
An attempt was made to advance past the end of a archive stream.
The Pixel or ConstPixel iterator object was dereferenced when in at the end.
A problem with image bounds, such as the use of a location beyond the image's dimensions.
The stream appears to not be an image archive.
Indicates the image has zero size when an operation requires some image data.
General graphics related code.
An image was requested that the archive does not contain.
boost::error_info< struct Info_Character, char32_t > Character
A character, like one requested for rendering in a specific font.
boost::error_info< struct Info_FontName, std::string > FontName
The name of the font and is not present in the font pool.
The archive is in an unsupported version of the format.
A glyph required to render a string is not availble in the font.