config: catch IOException, FileException does not exist

This commit is contained in:
Hylke Bons 2011-09-22 12:24:33 +01:00
parent aba2595913
commit 87e6fc56a0

View file

@ -70,7 +70,7 @@ namespace SparkleLib {
} catch (TypeInitializationException) {
CreateInitialConfig ();
} catch (FileException) {
} catch (IOException) {
CreateInitialConfig ();
} catch (XmlException) {
@ -82,7 +82,7 @@ namespace SparkleLib {
CreateInitialConfig ();
} else {
throw new XmlException (FullPath + " does not contain a valid SparkleShare XML structure.");
throw new XmlException (FullPath + " does not contain a valid config XML structure.");
}
} finally {