diff options
author | Jb Evain <jbevain@gmail.com> | 2008-07-17 23:34:47 +0400 |
---|---|---|
committer | Jb Evain <jbevain@gmail.com> | 2008-07-17 23:34:47 +0400 |
commit | 7eb974a5cc095c642045bfc433046fb22aa3f88c (patch) | |
tree | f61841de805770ce45a0d2c7f9b51ad48d102514 /mcs/class/System/System.Timers | |
parent | 69f67ba699ed97077084b58504f1bd3f500957fe (diff) |
2008-07-17 Jb Evain <jbevain@novell.com>
* Timer.cs: Fix ArgumentException message.
Patch by Paul Burton.
svn path=/trunk/mcs/; revision=108172
Diffstat (limited to 'mcs/class/System/System.Timers')
-rw-r--r-- | mcs/class/System/System.Timers/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/System/System.Timers/Timer.cs | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/System/System.Timers/ChangeLog b/mcs/class/System/System.Timers/ChangeLog index 3e1623c6af2..e7a242c2a05 100644 --- a/mcs/class/System/System.Timers/ChangeLog +++ b/mcs/class/System/System.Timers/ChangeLog @@ -1,3 +1,8 @@ +2008-07-17 Jb Evain <jbevain@novell.com> + + * Timer.cs: Fix ArgumentException message. + Patch by Paul Burton. + 2007-10-30 Robert Jordan <robertj@gmx.net> * Timer.cs (set_Enabled): Allow setting Enabled from within diff --git a/mcs/class/System/System.Timers/Timer.cs b/mcs/class/System/System.Timers/Timer.cs index f0f62449ee1..48166c1688d 100644 --- a/mcs/class/System/System.Timers/Timer.cs +++ b/mcs/class/System/System.Timers/Timer.cs @@ -116,7 +116,7 @@ namespace System.Timers set { // The doc says 'less than 0', but 0 also throws the exception if (value <= 0) - throw new ArgumentException ("Invalid value: " + interval, "interval"); + throw new ArgumentException ("Invalid value: " + value); interval = value; } |