Is there a similar facility in Linux for exception "exception registration"? http://www.codeproject.org/cpp/exceptionhandler.asp#xx515459xx For this discussion, I will consider exceptions to be those that are explicitly thrown or occur due to conditions like divide by zero or null pointer access. When exception occurs, interrupt is generated and control is transferred to the operating system. Operating System, in turn, calls the exception handler that inspects the function call sequence starting from the current function from where the exception originated, and performs its job of stack unwinding and control transfer. We can write our own exception handler and register it with the operating system that it would call in the event of an exception. Windows defines a special structure for registration, called EXCEPTION_REGISTRATION: -- Regards, Steven