From a15cf65c44d5c224169c32ef5495b68c758134b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 18 May 2014 16:08:14 +0200 Subject: Imported Upstream version 3.3.0.2 --- xsd/libxsd/xsd/cxx/parser/exceptions.txx | 59 ++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 xsd/libxsd/xsd/cxx/parser/exceptions.txx (limited to 'xsd/libxsd/xsd/cxx/parser/exceptions.txx') diff --git a/xsd/libxsd/xsd/cxx/parser/exceptions.txx b/xsd/libxsd/xsd/cxx/parser/exceptions.txx new file mode 100644 index 0000000..5423cdd --- /dev/null +++ b/xsd/libxsd/xsd/cxx/parser/exceptions.txx @@ -0,0 +1,59 @@ +// file : xsd/cxx/parser/exceptions.txx +// author : Boris Kolpackov +// copyright : Copyright (c) 2005-2010 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"; + } + } + } +} -- cgit v1.2.3