summaryrefslogtreecommitdiff
path: root/ACE/ACEXML/common/SAXExceptions.inl
blob: 404af3198a2e3b1ed24346700d40fa7717d918ea (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++ -*-

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

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

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

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

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

ACEXML_INLINE const ACEXML_Char *
ACEXML_SAXException::id () const
{
  return ACEXML_SAXException::exception_name_;
}

ACEXML_INLINE const ACEXML_Char *
ACEXML_SAXNotSupportedException::id () const
{
  return ACEXML_SAXNotSupportedException::exception_name_;
}

ACEXML_INLINE const ACEXML_Char *
ACEXML_SAXNotRecognizedException::id () const
{
  return ACEXML_SAXNotRecognizedException::exception_name_;
}

ACEXML_INLINE const ACEXML_Char *
ACEXML_SAXParseException::id () const
{
  return ACEXML_SAXParseException::exception_name_;
}