Include the problematic time zone in the exception message when throwing a TimeZoneNo...
[mono.git] / mcs / class / corlib / System / TimeZoneInfo.MonoTouch.cs
index fa727cce0c6da443dedf1a24efc0693ee3219747..fef235786947d13e8cc9c9eb1f2e127afd05b53e 100644 (file)
@@ -70,7 +70,7 @@ namespace System {
                        IntPtr data = monotouch_timezone_get_data (name, ref size);
                        if (size <= 0) {
                                if (throw_on_error)
-                                       throw new TimeZoneNotFoundException ();
+                                       throw new TimeZoneNotFoundException (name);
                                return null;
                        }