iso::img::ImgException Class Reference

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

#include <iso_img_exception.h>

List of all members.

Public Member Functions

 ImgException (base::String pType, base::String pMessage, base::String pSourceFile, base::String pFunction, int pLineNumber)
 parameter based contstructor
 ImgException (base::String pMessage, base::String pSourceFile, base::String pFunction, int pLineNumber)
 parameter based contstructor
 ~ImgException ()
 destructor

Protected Member Functions

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


Detailed Description

class for handling all kinds of img related run time errors

handling all kinds of event related run time errors

Defines a variety of run time errors, which are specific to the img classes: ERR_IMG_SIZE : Image Size Error ERR_IMG_CHANNELCOUNT : Image Channel Count Error ERR_IMG_BUFFER_BUFFER_MISMATCH : Buffer Buffer Format Mismatch ERR_IMG : Image Error

Created by Daniel Bisig on 5/17/06. Copyright 2006 Daniel Bisig All rights reserved.


Constructor & Destructor Documentation

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

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

ImgException::~ImgException (  ) 

destructor

ImgException::ImgException (  )  [protected]

default constructur


Member Function Documentation

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

initialize exception types


Friends And Related Function Documentation

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

print exception information


Member Data Documentation

bool ImgException::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:45:56 2010 for iso_img by  doxygen 1.5.1