Quellcode durchsuchen

Fixing warnings.

BDisp vor 4 Jahren
Ursprung
Commit
793efc8b63
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  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)