Added a class that makes a crash dump file when an exception occurs.