[MOAB-dev] exceptions & moab

Xiabing Xu xbxu at mcs.anl.gov
Wed Mar 30 10:39:09 CDT 2011


If you go to src/moab/Types.hpp, you could see the ErrorCode definition. I think it provides more information than what C++ exception does. And these error codes are used as condition variables most of the time to deal with different situations, they are used a lot when reading a file. That's what I understand so far.

Xiabing 

On Mar 30, 2011, at 10:23 AM, Jayesh Krishna wrote:

> Tim,
> Why did you decide on using error codes instead of C++ exceptions in moab ? How are errors in constructors handled in moab ?
> Any inputs are welcome.
> 
> Regards,
> Jayesh



More information about the moab-dev mailing list