Skip to content

v0.2.54..v0.2.55 changeset ElementType.h

Garret Voltz edited this page Aug 14, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/elements/ElementType.h b/hoot-core/src/main/cpp/hoot/core/elements/ElementType.h
index 29ec806..7341ca2 100644
--- a/hoot-core/src/main/cpp/hoot/core/elements/ElementType.h
+++ b/hoot-core/src/main/cpp/hoot/core/elements/ElementType.h
@@ -100,7 +100,7 @@ public:
     }
     else
     {
-      throw HootException("Invalid element type string: " + typeString);
+      throw IllegalArgumentException("Invalid element type string: " + typeString);
     }
   }
 
Clone this wiki locally