BDisp пре 4 година
родитељ
комит
793efc8b63
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      UICatalog/NumberToWords.cs

+ 1 - 2
UICatalog/NumberToWords.cs

@@ -24,9 +24,8 @@ namespace UICatalog {
 					return Convert (amount_int) + " Point " + Convert (amount_dec) + " Only.";
 				}
 			} catch (Exception e) {
-				// TODO: handle exception  
+				throw new ArgumentOutOfRangeException (e.Message);
 			}
-			return "";
 		}
 
 		public static String Convert (Int64 i)