james | added error_exit() method to util.