Exteptions instead of text message in lib/Data.php