diff --git a/acat2/src/acat.cpp b/acat2/src/acat.cpp
index 3e6917527dd196c4a46dcc3b27bb1c1154e88789..2715e5045911d3c6bbe74f37a500d20e0861a107 100644
--- a/acat2/src/acat.cpp
+++ b/acat2/src/acat.cpp
@@ -9,7 +9,7 @@
 #include <cstdlib>
 #include <unistd.h>
 #include <exception>
-#include "AlibException.h"
+#include "exception/AlibException.h"
 #include "FromXMLParsers.h"
 #include "sax/SaxParseInterface.h"
 #include "sax/ParserException.h"
@@ -66,6 +66,6 @@ int main(int argc, char** argv) {
 	} else if (alib::FromXMLParsers::stringParser.first(tokens)) {
 		getString(tokens);
 	} else {
-		throw alib::AlibException( "Expected root tag automaton, grammar, regexp or string. Read: " + tokens.front().getData());
+		throw exception::AlibException( "Expected root tag automaton, grammar, regexp or string. Read: " + tokens.front().getData());
 	}
 }