You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List<string>importfilePathAndNames=JsonSerializer.Deserialize<List<string>>(globalConfig.ImportAppDataPath)??thrownewException("Config Data could not be deserialized.");
54
+
List<string>importfilePathAndNames=JsonSerializer.Deserialize<List<string>>(globalConfig.ImportAppDataPath)??thrownewJsonException("Config Data could not be deserialized.");
internalLdap=connectedLdaps.FirstOrDefault(x =>x.IsInternal()&&x.HasGroupHandling())??thrownewException("No internal Ldap with group handling found.");
80
-
ownerGroupLdap=connectedLdaps.FirstOrDefault(x =>x.Id==globalConfig.OwnerLdapId)??thrownewException("Ldap with group handling not found.");
79
+
internalLdap=connectedLdaps.FirstOrDefault(x =>x.IsInternal()&&x.HasGroupHandling())??thrownewKeyNotFoundException("No internal Ldap with group handling found.");
80
+
ownerGroupLdap=connectedLdaps.FirstOrDefault(x =>x.Id==globalConfig.OwnerLdapId)??thrownewKeyNotFoundException("Ldap with group handling not found.");
ModellingImportOwnerData?importedOwnerData=JsonSerializer.Deserialize<ModellingImportOwnerData>(importFile)??thrownewException("File could not be parsed.");
105
+
ModellingImportOwnerData?importedOwnerData=JsonSerializer.Deserialize<ModellingImportOwnerData>(importFile)??thrownewJsonException("File could not be parsed.");
List<string>existingMembers=(allGroups.FirstOrDefault(x =>x.GroupDn==groupDn)??thrownewException("Group could not be found.")).Members;
428
+
List<string>existingMembers=(allGroups.FirstOrDefault(x =>x.GroupDn==groupDn)??thrownewKeyNotFoundException($"Group with DN '{groupDn}' could not be found.")).Members;
0 commit comments