Original Post
Hi, I'm thinking of a good way to implement exception handling in a few of my wrapper classes. The way I remember it's done is with try/catch statements. I just wanted to see if these are used in professional projects and whether I should use them. My alternate approach is simply doing something like Windows or DirectX and encoding the error into a DWORD and returnining it with every function call. I would then have a function that would read that DWORD and output a meaningfull string. Which of the two methods are more popular/more efficient or simply more versatile. (Or maybe there are other methods I'm unaware of) Thanks.