Make sure the application do not crash if a class has problems in it.