// file : xsd/cxx/parser/exceptions.txx // copyright : Copyright (c) 2005-2014 Code Synthesis Tools CC // license : GNU GPL v2 + exceptions; see accompanying LICENSE file namespace xsd { namespace cxx { namespace parser { // error // template error:: error (cxx::parser::severity s, const std::basic_string& id, unsigned long line, unsigned long column, const std::basic_string& message) : severity_ (s), id_ (id), line_ (line), column_ (column), message_ (message) { } // parsing // template parsing:: ~parsing () throw () { } template parsing:: parsing () { } template parsing:: parsing (const cxx::parser::diagnostics& diagnostics) : diagnostics_ (diagnostics) { } template const char* parsing:: what () const throw () { return "instance document parsing failed"; } } } }