Catch ClassNotFound error