Forráskód Böngészése

Use better exception to represent unsupported converter

ghorsington 4 éve
szülő
commit
141e1ae35e
1 módosított fájl, 1 hozzáadás és 1 törlés
  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;