Browse Source

Fixing warnings.

BDisp 4 years ago
parent
commit
793efc8b63
1 changed files with 1 additions and 2 deletions
  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)