OpenCTM exception. More...
#include <openctmpp.h>
Public Member Functions | |
ctm_error (CTMenum aError) | |
virtual const char * | what () const throw () |
CTMenum | error_code () const throw () |
OpenCTM exception.
When an error occurs, a ctm_error
exception is thrown. Its what() function returns the name of the OpenCTM error code (for instance "CTM_INVALID_OPERATION").
ctm_error::ctm_error | ( | CTMenum | aError | ) | [inline, explicit] |
CTMenum ctm_error::error_code | ( | ) | const throw () [inline] |
virtual const char* ctm_error::what | ( | ) | const throw () [inline, virtual] |
Copyright © 2009-2010 Marcus Geelnard — openctm.sourceforge.net