Convert loading configuration error messages to a resource bundle

And remove the now unneeded enumeration.