Adding not-implemented exception macro

parent 1ce989a1
......@@ -66,6 +66,7 @@ protected:
#define VA_EXCEPT0(ERRRORCODE) { throw CVAException( (CVAException::ERRRORCODE) ); }
#define VA_EXCEPT1(ERRRORMSG) { throw CVAException(CVAException::UNSPECIFIED, (ERRRORMSG) ); }
#define VA_EXCEPT2(ERRORCODE, ERRRORMSG) { throw CVAException( (CVAException::ERRORCODE) , (ERRRORMSG) ); }
#define VA_EXCEPT_NOT_IMPLEMENTED { throw CVAException( (CVAException::NOT_IMPLEMENTED) , "Not implemented" ); }
//! STL stream output operator
VABASE_API std::ostream& operator<<(std::ostream& os, const CVAException& ex);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment