Added global exception handling for T-Balancer detection (to handle ArgumentException if portName does not exist).
1.1 --- a/Hardware/TBalancer/TBalancerGroup.cs Wed Feb 17 20:45:31 2010 +0000
1.2 +++ b/Hardware/TBalancer/TBalancerGroup.cs Thu Feb 18 14:03:02 2010 +0000
1.3 @@ -119,11 +119,9 @@
1.4 hardware.Add(new TBalancer(portNames[i], protocolVersion));
1.5 return;
1.6 }
1.7 - } catch (IOException ioe) {
1.8 - report.AppendLine(ioe.ToString());
1.9 - } catch (NullReferenceException ne) {
1.10 - report.AppendLine(ne.ToString());
1.11 - }
1.12 + } catch (Exception e) {
1.13 + report.AppendLine(e.ToString());
1.14 + }
1.15 report.AppendLine();
1.16 }
1.17 }
2.1 --- a/Properties/AssemblyInfo.cs Wed Feb 17 20:45:31 2010 +0000
2.2 +++ b/Properties/AssemblyInfo.cs Thu Feb 18 14:03:02 2010 +0000
2.3 @@ -69,5 +69,5 @@
2.4 // You can specify all the values or you can default the Build and Revision Numbers
2.5 // by using the '*' as shown below:
2.6 // [assembly: AssemblyVersion("1.0.*")]
2.7 -[assembly: AssemblyVersion("0.1.21.2")]
2.8 -[assembly: AssemblyFileVersion("0.1.21.2")]
2.9 +[assembly: AssemblyVersion("0.1.21.3")]
2.10 +[assembly: AssemblyFileVersion("0.1.21.3")]