From 461da14787757b412dfb26c863b092f9b8d2d5b1 Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Mon, 8 May 2017 14:24:49 +0200 Subject: [PATCH] Register exception producers in Application --- src/App/Application.cpp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/App/Application.cpp b/src/App/Application.cpp index 64e614cd9a..e40d8b17a9 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -62,6 +62,7 @@ #include #include #include +#include #include #include #include @@ -1300,6 +1301,35 @@ void Application::initTypes(void) // register transaction type new App::TransactionProducer (DocumentObject::getClassTypeId()); + + // register exception producer types + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; + new ExceptionProducer; } void Application::initConfig(int argc, char ** argv)