config: catch IOException, FileException does not exist
This commit is contained in:
parent
aba2595913
commit
87e6fc56a0
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue