#include <iso_font_exception.h>
Public Member Functions | |
FontException (base::String pType, base::String pMessage, base::String pSourceFile, base::String pFunction, int pLineNumber) | |
parameter based contstructor | |
FontException (base::String pMessage, base::String pSourceFile, base::String pFunction, int pLineNumber) | |
parameter based contstructor | |
FontException (const Exception &pException) | |
copy constructor | |
~FontException () | |
destructor | |
Protected Member Functions | |
FontException () | |
default constructur | |
Static Protected Member Functions | |
static void | initExceptionTypes () |
initialize exception types | |
Static Protected Attributes | |
static bool | sExceptionTypesInitialized |
reflects whether exception types have been initialized | |
Friends | |
std::ostream & | operator<< (std::ostream &pOstream, const FontException &pException) |
print exception information |
handling all kinds of font related run time errors
Defines a variety of run time errors, which are specific to the font classes: ERR_FONT_INITIALIZATION : Font System Could Not Be Initialized ERR_DUPLICATE_FONT : Font Already Exists ERR_UNKNOWN_FONT : Font Does Not Exists ERR_FONT_FILE_LOAD : Failed to Load Font File ERR_GLYPH_LOAD : Failed to Load Glyph ERR_FONT : Font Error
Created by Daniel Bisig on 7/10/09.
FontException::FontException | ( | base::String | pType, | |
base::String | pMessage, | |||
base::String | pSourceFile, | |||
base::String | pFunction, | |||
int | pLineNumber | |||
) |
parameter based contstructor
pType | type of exception | |
pMessage | addition text describing exception | |
pSourceFile | source code file name in which exception occurred | |
pFunction | function name in which exception occurred | |
pLineNumber | line number within source file at which exception occurred |
FontException::FontException | ( | base::String | pMessage, | |
base::String | pSourceFile, | |||
base::String | pFunction, | |||
int | pLineNumber | |||
) |
parameter based contstructor
pMessage | addition text describing exception | |
pSourceFile | source code file name in which exception occurred | |
pFunction | function name in which exception occurred | |
pLineNumber | line number within source file at which exception occurred |
FontException::FontException | ( | const Exception & | pException | ) |
copy constructor
pException | exception |
FontException::~FontException | ( | ) |
destructor
FontException::FontException | ( | ) | [protected] |
default constructur
void FontException::initExceptionTypes | ( | ) | [static, protected] |
initialize exception types
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const FontException & | pException | |||
) | [friend] |
print exception information
bool FontException::sExceptionTypesInitialized [static, protected] |
reflects whether exception types have been initialized