Removed ParserWarning class.

This commit is contained in:
2016-06-14 15:09:39 +02:00
parent 777c9839a1
commit 9679706a08
4 changed files with 1 additions and 80 deletions

View File

@@ -11,7 +11,6 @@
#include <plasp/pddl/expressions/Variable.h>
#include <plasp/utils/IO.h>
#include <plasp/utils/ParserException.h>
#include <plasp/utils/ParserWarning.h>
namespace plasp
{

View File

@@ -1,7 +1,6 @@
#include <plasp/utils/Logger.h>
#include <plasp/utils/Formatting.h>
#include <plasp/utils/ParserWarning.h>
namespace plasp
{
@@ -118,7 +117,7 @@ void Logger::parserWarning(const Parser &parser, const std::string &message)
return;
if (m_warningLevel == WarningLevel::Error)
throw ParserWarning(parser, message);
throw ParserException(parser, message);
const auto coordinate = parser.coordinate();