Add a class to handle uncaught exception