iso::font::FontException Class Reference

class for handling all kinds of font related run time errors More...

#include <iso_font_exception.h>

List of all members.

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


Detailed Description

class for handling all kinds of font related run time errors

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.


Constructor & Destructor Documentation

FontException::FontException ( base::String  pType,
base::String  pMessage,
base::String  pSourceFile,
base::String  pFunction,
int  pLineNumber 
)

parameter based contstructor

Parameters:
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
Constructor for specific exception types

FontException::FontException ( base::String  pMessage,
base::String  pSourceFile,
base::String  pFunction,
int  pLineNumber 
)

parameter based contstructor

Parameters:
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
Constructor for generic exception types

FontException::FontException ( const Exception &  pException  ) 

copy constructor

Parameters:
pException exception

FontException::~FontException (  ) 

destructor

FontException::FontException (  )  [protected]

default constructur


Member Function Documentation

void FontException::initExceptionTypes (  )  [static, protected]

initialize exception types


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  pOstream,
const FontException pException 
) [friend]

print exception information


Member Data Documentation

bool FontException::sExceptionTypesInitialized [static, protected]

reflects whether exception types have been initialized


The documentation for this class was generated from the following files:
Generated on Thu Jul 8 12:44:35 2010 for iso_font by  doxygen 1.5.1