add specialized exception type for bad graphs

This commit is contained in:
wmayer
2018-11-26 14:15:19 +01:00
parent 88a35a05bb
commit 1647eee92c
5 changed files with 45 additions and 5 deletions

View File

@@ -1463,6 +1463,7 @@ void Application::initTypes(void)
new ExceptionProducer<Base::IndexError>;
new ExceptionProducer<Base::AttributeError>;
new ExceptionProducer<Base::RuntimeError>;
new ExceptionProducer<Base::BadGraphError>;
new ExceptionProducer<Base::NotImplementedError>;
new ExceptionProducer<Base::DivisionByZeroError>;
new ExceptionProducer<Base::ReferencesError>;