summaryrefslogtreecommitdiff
path: root/ACE/ACEXML/common/SAXExceptions.inl
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-27 20:43:46 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-27 20:43:46 +0000
commit30102243920c57c8c73120186ef6f23d00357499 (patch)
treed2218efbd49bfb113788d091300f81ef2b016a6c /ACE/ACEXML/common/SAXExceptions.inl
parent7a52a0d7773d3acf5707ed810db4336f665fa00e (diff)
downloadATCD-30102243920c57c8c73120186ef6f23d00357499.tar.gz
Thu Jul 27 20:30:26 UTC 2006 William R. Otte <wotte@dre.vanderbilt.edu>
Diffstat (limited to 'ACE/ACEXML/common/SAXExceptions.inl')
-rw-r--r--ACE/ACEXML/common/SAXExceptions.inl57
1 files changed, 57 insertions, 0 deletions
diff --git a/ACE/ACEXML/common/SAXExceptions.inl b/ACE/ACEXML/common/SAXExceptions.inl
new file mode 100644
index 00000000000..3aee40632b5
--- /dev/null
+++ b/ACE/ACEXML/common/SAXExceptions.inl
@@ -0,0 +1,57 @@
+// -*- C++ -*- $Id$
+
+ACEXML_INLINE const ACEXML_Char *
+ACEXML_SAXException::message (void)
+{
+ return (this->message_ == 0 ?
+ ACEXML_Exception::null_ :
+ this->message_);
+}
+
+ACEXML_INLINE void
+ACEXML_SAXException::_raise (void)
+{
+ ACEXML_RAISE (*this);
+}
+
+ACEXML_INLINE void
+ACEXML_SAXNotSupportedException::_raise (void)
+{
+ ACEXML_RAISE (*this);
+}
+
+ACEXML_INLINE void
+ACEXML_SAXNotRecognizedException::_raise (void)
+{
+ ACEXML_RAISE (*this);
+}
+
+ACEXML_INLINE void
+ACEXML_SAXParseException::_raise (void)
+{
+ ACEXML_RAISE (*this);
+}
+
+ACEXML_INLINE const ACEXML_Char *
+ACEXML_SAXException::id (void) const
+{
+ return ACEXML_SAXException::exception_name_;
+}
+
+ACEXML_INLINE const ACEXML_Char *
+ACEXML_SAXNotSupportedException::id (void) const
+{
+ return ACEXML_SAXNotSupportedException::exception_name_;
+}
+
+ACEXML_INLINE const ACEXML_Char *
+ACEXML_SAXNotRecognizedException::id (void) const
+{
+ return ACEXML_SAXNotRecognizedException::exception_name_;
+}
+
+ACEXML_INLINE const ACEXML_Char *
+ACEXML_SAXParseException::id (void) const
+{
+ return ACEXML_SAXParseException::exception_name_;
+}