summaryrefslogtreecommitdiff
path: root/ACE/ACEXML/common/SAXExceptions.inl
blob: 8145b2d7ed4575c6cc9326517f60c213c10e6fb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// -*- C++ -*- $Id$

ACEXML_INLINE const ACEXML_Char *
ACEXML_SAXException::message (void) const
{
  return (this->message_ == 0 ?
          ACEXML_Exception::null_ :
          this->message_);
}

ACEXML_INLINE void
ACEXML_SAXException::_raise (void)
{
  throw *this;
}

ACEXML_INLINE void
ACEXML_SAXNotSupportedException::_raise (void)
{
  throw *this;
}

ACEXML_INLINE void
ACEXML_SAXNotRecognizedException::_raise (void)
{
  throw *this;
}

ACEXML_INLINE void
ACEXML_SAXParseException::_raise (void)
{
  throw *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_;
}