x) Catch more generic IO issues
x) Add a default filename of <unknown> for default created resources
This commit is contained in:
parent
7560e6bf56
commit
065ec3b237
@ -91,7 +91,7 @@ namespace lib
|
||||
|
||||
cfg.SetFilename( filename );
|
||||
}
|
||||
catch( FileNotFoundException )
|
||||
catch( IOException )
|
||||
{
|
||||
Type[] types = new Type[0];
|
||||
object[] parms = new object[0];
|
||||
|
||||
@ -57,6 +57,8 @@ namespace res
|
||||
|
||||
//For serialization
|
||||
public Ref()
|
||||
:
|
||||
base( "<unknown>" )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user