Update Record.php to fix the reference to the Exception Class