From 793efc8b636ec3b25434b5471488ebb272d83331 Mon Sep 17 00:00:00 2001 From: BDisp Date: Wed, 4 Nov 2020 16:53:21 +0000 Subject: [PATCH] Fixing warnings. --- UICatalog/NumberToWords.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/UICatalog/NumberToWords.cs b/UICatalog/NumberToWords.cs index 1616fd27b..6d5c942a1 100644 --- a/UICatalog/NumberToWords.cs +++ b/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)