summaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/parser/exceptions.txx
diff options
context:
space:
mode:
Diffstat (limited to 'libxsd/xsd/cxx/parser/exceptions.txx')
-rw-r--r--libxsd/xsd/cxx/parser/exceptions.txx57
1 files changed, 0 insertions, 57 deletions
diff --git a/libxsd/xsd/cxx/parser/exceptions.txx b/libxsd/xsd/cxx/parser/exceptions.txx
deleted file mode 100644
index 5d94f95..0000000
--- a/libxsd/xsd/cxx/parser/exceptions.txx
+++ /dev/null
@@ -1,57 +0,0 @@
-// file : xsd/cxx/parser/exceptions.txx
-// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
-
-namespace xsd
-{
- namespace cxx
- {
- namespace parser
- {
- // error
- //
- template <typename C>
- error<C>::
- error (cxx::parser::severity s,
- const std::basic_string<C>& id,
- unsigned long line,
- unsigned long column,
- const std::basic_string<C>& message)
- : severity_ (s),
- id_ (id),
- line_ (line),
- column_ (column),
- message_ (message)
- {
- }
-
-
- // parsing
- //
- template <typename C>
- parsing<C>::
- ~parsing () throw ()
- {
- }
-
- template <typename C>
- parsing<C>::
- parsing ()
- {
- }
-
- template <typename C>
- parsing<C>::
- parsing (const cxx::parser::diagnostics<C>& diagnostics)
- : diagnostics_ (diagnostics)
- {
- }
-
- template <typename C>
- const char* parsing<C>::
- what () const throw ()
- {
- return "instance document parsing failed";
- }
- }
- }
-}