Explorar o código

Use better exception to represent unsupported converter

ghorsington %!s(int64=5) %!d(string=hai) anos
pai
achega
141e1ae35e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;