I've read the FAQ on try/throw/catch, which is my only knowledge of handling errors like that.
I'd like to implement an error class in my program, which will basically just recieve the error and output some info about it to a file. (It's just for debugging purposes... fullscreen directx apps are a bit difficult to debug) I was wondering if it's possible to set it up so that I can just throw an exception from any part of the program and it will go to my error class.
Suggestions?