Fixing typos in exception messages, and style

parent d2260229
......@@ -77,12 +77,12 @@ protected:
};
//! Macro for throwing exceptions
#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" ); }
#define VA_EXCEPT_NOT_IMPLEMENTED_NEXT_VERSION { throw CVAException( (CVAException::NOT_IMPLEMENTED) , "This method has not been newly introduced to the VA interface, but will be implemented in the next core version" ); }
#define VA_EXCEPT_NOT_IMPLEMENTED_FUTURE_VERSION { throw CVAException( (CVAException::NOT_IMPLEMENTED) , "This method has not been introduced to the VA interface for future use and is currently not available in the core" ); }
#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" ); }
#define VA_EXCEPT_NOT_IMPLEMENTED_NEXT_VERSION { throw CVAException( ( CVAException::NOT_IMPLEMENTED ) , "This new method has been introduced to the VA interface and will be implemented in the next core version" ); }
#define VA_EXCEPT_NOT_IMPLEMENTED_FUTURE_VERSION { throw CVAException( ( CVAException::NOT_IMPLEMENTED ) , "This new method has been introduced to the VA interface for future use and is currently not implemented" ); }
//! STL stream output operator
/**
......
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