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) { } catch (TypeInitializationException) {
CreateInitialConfig (); CreateInitialConfig ();
} catch (FileException) { } catch (IOException) {
CreateInitialConfig (); CreateInitialConfig ();
} catch (XmlException) { } catch (XmlException) {
@ -82,7 +82,7 @@ namespace SparkleLib {
CreateInitialConfig (); CreateInitialConfig ();
} else { } 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 { } finally {