diff --git a/include/plasp/sas/TranslatorException.h b/include/plasp/utils/TranslatorException.h similarity index 83% rename from include/plasp/sas/TranslatorException.h rename to include/plasp/utils/TranslatorException.h index cd54fec..73e3239 100644 --- a/include/plasp/sas/TranslatorException.h +++ b/include/plasp/utils/TranslatorException.h @@ -1,12 +1,12 @@ -#ifndef __PLASP__SAS__TRANSLATOR_EXCEPTION_H -#define __PLASP__SAS__TRANSLATOR_EXCEPTION_H +#ifndef __PLASP__UTILS__TRANSLATOR_EXCEPTION_H +#define __PLASP__UTILS__TRANSLATOR_EXCEPTION_H #include #include namespace plasp { -namespace sas +namespace utils { //////////////////////////////////////////////////////////////////////////////////////////////////// @@ -39,7 +39,7 @@ class TranslatorException: public std::exception const char *what() const throw() { if (m_message.empty()) - return "Unspecified error while translating SAS description"; + return "Unspecified error while translating description"; return m_message.c_str(); } diff --git a/src/plasp/sas/TranslatorASP.cpp b/src/plasp/sas/TranslatorASP.cpp index 8300829..b09c5fc 100644 --- a/src/plasp/sas/TranslatorASP.cpp +++ b/src/plasp/sas/TranslatorASP.cpp @@ -1,7 +1,5 @@ #include -#include - namespace plasp { namespace sas