Issue #1808864 by fastangel, Jose Reyero: Fixed Exception handling is not 'locale safe' (thus not database safe).