# HG changeset patch
# User moel.mich
# Date 1266501782 0
# Node ID e5fc5fd57dbedc8ef246f93f16d1aa2143a8410a
# Parent  7d83a09511f057449069169141a880122621a0d8
Added global exception handling for T-Balancer detection (to handle ArgumentException if portName does not exist).

diff -r 7d83a09511f0 -r e5fc5fd57dbe Hardware/TBalancer/TBalancerGroup.cs
--- a/Hardware/TBalancer/TBalancerGroup.cs	Wed Feb 17 20:45:31 2010 +0000
+++ b/Hardware/TBalancer/TBalancerGroup.cs	Thu Feb 18 14:03:02 2010 +0000
@@ -119,11 +119,9 @@
             hardware.Add(new TBalancer(portNames[i], protocolVersion));
             return;
           }
-        } catch (IOException ioe) {
-          report.AppendLine(ioe.ToString());
-        } catch (NullReferenceException ne) {
-          report.AppendLine(ne.ToString());
-        }
+        } catch (Exception e) {
+          report.AppendLine(e.ToString());
+        } 
         report.AppendLine();
       }
     }
diff -r 7d83a09511f0 -r e5fc5fd57dbe Properties/AssemblyInfo.cs
--- a/Properties/AssemblyInfo.cs	Wed Feb 17 20:45:31 2010 +0000
+++ b/Properties/AssemblyInfo.cs	Thu Feb 18 14:03:02 2010 +0000
@@ -69,5 +69,5 @@
 // You can specify all the values or you can default the Build and Revision Numbers 
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("0.1.21.2")]
-[assembly: AssemblyFileVersion("0.1.21.2")]
+[assembly: AssemblyVersion("0.1.21.3")]
+[assembly: AssemblyFileVersion("0.1.21.3")]