From: handa Date: Tue, 21 Apr 2009 07:50:13 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98e63be36c264959e53e41e88bb48b77349d244e;p=m17n%2Fm17n-lib-cs.git *** empty log message *** --- diff --git a/MText.cs b/MText.cs index 45d711b..fcf4a58 100644 --- a/MText.cs +++ b/MText.cs @@ -1343,6 +1343,8 @@ namespace M17N.Core Console.Write (")"); if (newline) Console.WriteLine (); + if (Length <= 0) + throw new Exception ("Invalid interval length"); } }