diff --git a/include/dynamic-graph/python/exception-python.hh b/include/dynamic-graph/python/exception-python.hh
index ad34ce03748a7dbe7912f0a4ec5c6e12a7bae525..5374d4b9f2779f9a756ff3fb35682034c4eb8952 100644
--- a/include/dynamic-graph/python/exception-python.hh
+++ b/include/dynamic-graph/python/exception-python.hh
@@ -38,6 +38,7 @@ namespace dynamicgraph {
 	,VALUE_PARSING
 	,VECTOR_PARSING
 	,MATRIX_PARSING
+	,CLASS_INCONSISTENT
       };
 
       static const std::string EXCEPTION_NAME;