Using a resource file to contain error messages.