Update CSVClass.php

Hi, i think it's better to throw an exception, instead of killing the execution of the script