Explorar o código

Fixing warnings.

BDisp %!s(int64=4) %!d(string=hai) anos
pai
achega
793efc8b63
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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)