소스 검색

Use better exception to represent unsupported converter

ghorsington 5 년 전
부모
커밋
141e1ae35e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ArcToolkitCLI/Commands/Converters/BaseConverter.cs

+ 1 - 1
ArcToolkitCLI/Commands/Converters/BaseConverter.cs

@@ -19,7 +19,7 @@ namespace ArcToolkitCLI.Commands.Converters
             var verb = GetType().GetCustomAttributes(typeof(VerbAttribute), true).Cast<VerbAttribute>().FirstOrDefault();
             
             if(verb == null)
-                throw new NotImplementedException("The converter is not properly implemented yet, sorry!");
+                throw new NotSupportedException("The converter is not properly implemented yet, sorry!");
 
             var convertCommand = verb.Name;