Well, I don't want to let it crash because of an exception.
OpenRead may throw:
/// <exception cref="DirectoryNotFoundException"></exception> /// <exception cref="FileNotFoundException"></exception> /// <exception cref="UnauthorizedAccessException"></exception> /// <exception cref="NotSupportedException"></exception> /// <exception cref="PathTooLongException"></exception> /// <exception cref="NotSupportedException"> If the path has an invalid format. </exception> /// <exception cref="ArgumentException"> If the fileName/folder contains invalid arguments/characters. </exception> /// <exception cref="ArgumentNullException"> If the fileName/folder is null. </exception>
I wonder why engines like Axiom don't catch exeptions at all.. ( last build I saw )
Thank you for your help SiCrane. ^^,