Dont let RaiseError and PrintError stop exception throwing, added stmt
and params in throw to send more detail on failure