iso::visual::VisualException Class Reference

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

#include <iso_visual_exception.h>

List of all members.

Public Member Functions

 VisualException (base::String pType, base::String pMessage, base::String pSourceFile, base::String pFunction, int pLineNumber)
 parameter based contstructor
 VisualException (base::String pMessage, base::String pSourceFile, base::String pFunction, int pLineNumber)
 parameter based contstructor
 VisualException (const Exception &pException)
 copy constructor
 ~VisualException ()
 destructor

Protected Member Functions

 VisualException ()
 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 VisualException &pException)
 print exception information


Detailed Description

class for handling all kinds of visual related run time errors

handling all kinds of visual related run time errors

Defines a variety of run time errors, which are specific to the visual classes: ERR_UNKNOWN_NODE : Patch Node Not Found Error ERR_DUPLICATE_NODE : Patch Node Already Exists Error ERR_UNKNOWN_PORT : Patch Port Not Found Error ERR_DUPLICATE_PORT : Patch Port Already Exists Error ERR_UNKNOWN_DATA : Data Already Exists Error ERR_DUPLICATE_DATA : Data Not Found Error ERR_DATA : Data Error ERR_DATASET_TYPE : Dataset Type Error ERR_ATTRIBUTE_TYPE : Attribute Type Error ERR_ATTRIBUTE_SIZE : Attribute Size Error ERR_ATTRIBUTE_NAME : Attribute Name Error ERR_POINTDATA_TYPE : Wrong Type of PointData ERR_POINTDATA : PointData Error ERR_MESH : Mesh Error ERR_FILE : File Error ERR_MOVIE : Movie Error ERR_SCENE_DATA : Scene Data Error ERR_GL : GL Error ERR_CL : CL Error ERR_VISUAL : Visual Error

Created by Daniel Bisig on 08/06/09.


Constructor & Destructor Documentation

VisualException::VisualException ( 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

VisualException::VisualException ( 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

VisualException::VisualException ( const Exception &  pException  ) 

copy constructor

Parameters:
pException exception

VisualException::~VisualException (  ) 

destructor

VisualException::VisualException (  )  [protected]

default constructur


Member Function Documentation

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

initialize exception types


Friends And Related Function Documentation

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

print exception information


Member Data Documentation

bool VisualException::sExceptionTypesInitialized [static, protected]

reflects whether exception types have been initialized


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:23:39 2011 for iso visual by  doxygen 1.5.1