Error catch empty class name/empty class