Throw an exception on invalid file config
Updated some exception codes and descriptions
Remove exception that never gets thrown
More test coverage for shldap class