iso::math::MathException Class Reference

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

#include <iso_math_exception.h>

List of all members.

Public Member Functions

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

Protected Member Functions

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


Detailed Description

class for handling all kinds of math related run time errors

handling all kinds of math related run time errors

Defines a variety of run time errors, which are specific to the math classes: ERR_VALUE_NOT_POWER_OF_TWO : Value is not a Power of Two ERR_VECTOR_VECTOR_MISMATCH : Vectors Don't Match ERR_VECTOR_MATRIX_MISMATCH : Vector and Matrix Don't Match ERR_MATRIX_MATRIX_MISMATCH : Matrix and Matrix Don't Match ERR_VECTOR_ERROR : Vector ERROR ERR_MATRIX_ERROR : Matrix ERROR ERR_DIMENSION_MISMATCH : Dimension Mismatch Error

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


Constructor & Destructor Documentation

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

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

MathException::~MathException (  ) 

destructor

MathException::MathException (  )  [protected]

default constructur


Member Function Documentation

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

initialize exception types


Friends And Related Function Documentation

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

print exception information


Member Data Documentation

bool MathException::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:04:06 2011 for iso_math by  doxygen 1.5.1