Archives / July 2012

XmlSerializer throws FileNotFoundException

A very typical scenario when using the XmlSerializer is that at runtime it throws a FileNotFoundException. However, the exception is caught within the XmlSerializer class and program flow continues without any problems. It is still inconvenient because the exceptions can interfere with your debugging. Imagine the following code fragment: Person p = new Person() { Name...CONTINUE READING
15 49.0138 8.38624 1 0 4000 1 300 0