Restructured exception and interrupt handling.
Need to correct examples !