LPS-42184 Include flags to indicate the locale of the exception message