Skip to content
Snippets Groups Projects
Commit 31b917fa authored by ilor's avatar ilor
Browse files

Merge branch 'master' of nlp.pwr.wroc.pl:wccl

parents 6a7ac841 a2e40649
Branches
No related merge requests found
#include <libwccl/parser/ParserException.h>
ParserException::ParserException(std::string msg)
ParserException::ParserException(std::string msg) : WcclError(msg)
{
this->msg = msg;
}
#ifndef LIBWCCL_PARSER_PARSEREXCEPTION_H
#define LIBWCCL_PARSER_PARSEREXCEPTION_H
#include <libwccl/exception.h>
#include <string>
class ParserException //TODO derive from std::exception or wcclerror
class ParserException : public Wccl::WcclError
{
public:
ParserException(const std::string);
~ParserException() throw() {
}
//
const std::string info() const { return this->msg; }
std::string info() const { return this->msg; }
private:
std::string msg;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment