소스 검색

Fixing warnings.

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)