#include <iso_visual_exception.h>
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 |
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.
VisualException::VisualException | ( | 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 |
VisualException::VisualException | ( | 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 |
VisualException::VisualException | ( | const Exception & | pException | ) |
copy constructor
pException | exception |
VisualException::~VisualException | ( | ) |
destructor
VisualException::VisualException | ( | ) | [protected] |
default constructur
void VisualException::initExceptionTypes | ( | ) | [static, protected] |
initialize exception types
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const VisualException & | pException | |||
) | [friend] |
print exception information
bool VisualException::sExceptionTypesInitialized [static, protected] |
reflects whether exception types have been initialized