#include <ACEXML/common/SAXExceptions.h>
Inheritance diagram for ACEXML_SAXNotSupportedException:


Public Member Functions | |
| ACEXML_SAXNotSupportedException (void) | |
| Default constructor. | |
| ACEXML_SAXNotSupportedException (const ACEXML_SAXNotSupportedException &ex) | |
| Copy constructor. | |
| ACEXML_SAXNotSupportedException & | operator= (const ACEXML_SAXNotSupportedException &ex) |
| Assignment operator. | |
| ACEXML_SAXNotSupportedException (const ACEXML_Char *msg) | |
| Constructor which accepts an informational message. | |
| virtual | ~ACEXML_SAXNotSupportedException (void) |
| Destructor. | |
| virtual void | _raise (void) |
| Throw the exception. | |
| virtual const ACEXML_Char * | id (void) const |
| Return the name of the exception. | |
| virtual ACEXML_Exception * | duplicate (void) const |
| Dynamically create a copy of this exception. | |
| virtual int | is_a (const ACEXML_Char *name) |
| Check whether this is an exception of type specified by <name>. | |
| virtual void | print (void) const |
| Print out exception using ACE_DEBUG. | |
Static Public Member Functions | |
| static ACEXML_SAXNotSupportedException * | _downcast (ACEXML_Exception *ex) |
| Static narrow operation. | |
Static Protected Attributes | |
| static const ACEXML_Char | exception_name_ [] = ACE_TEXT ("ACEXML_SAXNotSupportedException") |
Definition at line 80 of file SAXExceptions.h.
| ACEXML_SAXNotSupportedException::ACEXML_SAXNotSupportedException | ( | void | ) |
| ACEXML_SAXNotSupportedException::ACEXML_SAXNotSupportedException | ( | const ACEXML_SAXNotSupportedException & | ex | ) |
Copy constructor.
Definition at line 88 of file SAXExceptions.cpp.
00089 : ACEXML_SAXException (ex) 00090 { 00091 }
| ACEXML_SAXNotSupportedException::ACEXML_SAXNotSupportedException | ( | const ACEXML_Char * | msg | ) |
Constructor which accepts an informational message.
Definition at line 107 of file SAXExceptions.cpp.
00108 : ACEXML_SAXException (msg) 00109 { 00110 }
| ACEXML_SAXNotSupportedException::~ACEXML_SAXNotSupportedException | ( | void | ) | [virtual] |
Destructor.
Definition at line 112 of file SAXExceptions.cpp.
References ACEXML_SAXException::message_.
00113 { 00114 delete[] this->message_; 00115 }
| ACEXML_SAXNotSupportedException * ACEXML_SAXNotSupportedException::_downcast | ( | ACEXML_Exception * | ex | ) | [static] |
Static narrow operation.
Reimplemented from ACEXML_SAXException.
Definition at line 102 of file SAXExceptions.cpp.
| ACEXML_INLINE void ACEXML_SAXNotSupportedException::_raise | ( | void | ) | [virtual] |
Throw the exception.
Reimplemented from ACEXML_SAXException.
Definition at line 18 of file SAXExceptions.inl.
References ACEXML_RAISE.
00019 { 00020 ACEXML_RAISE (*this); 00021 }
| ACEXML_Exception * ACEXML_SAXNotSupportedException::duplicate | ( | void | ) | const [virtual] |
Dynamically create a copy of this exception.
Reimplemented from ACEXML_SAXException.
Definition at line 119 of file SAXExceptions.cpp.
References ACE_NEW_RETURN.
00120 { 00121 ACEXML_Exception *tmp; 00122 ACE_NEW_RETURN (tmp, ACEXML_SAXNotSupportedException (*this), 0); 00123 return tmp; 00124 }
| ACEXML_INLINE const ACEXML_Char * ACEXML_SAXNotSupportedException::id | ( | void | ) | const [virtual] |
Return the name of the exception.
Reimplemented from ACEXML_SAXException.
Definition at line 42 of file SAXExceptions.inl.
References exception_name_.
00043 { 00044 return ACEXML_SAXNotSupportedException::exception_name_; 00045 }
| int ACEXML_SAXNotSupportedException::is_a | ( | const ACEXML_Char * | name | ) | [virtual] |
Check whether this is an exception of type specified by <name>.
Reimplemented from ACEXML_SAXException.
Definition at line 127 of file SAXExceptions.cpp.
References exception_name_, ACEXML_SAXException::is_a(), and ACE_OS::strcmp().
00128 { 00129 return ACE_OS::strcmp (ACEXML_SAXNotSupportedException::exception_name_, 00130 name) == 0 00131 || this->ACEXML_SAXException::is_a (name); 00132 }
| ACEXML_SAXNotSupportedException & ACEXML_SAXNotSupportedException::operator= | ( | const ACEXML_SAXNotSupportedException & | ex | ) |
Assignment operator.
Definition at line 94 of file SAXExceptions.cpp.
References ACEXML_SAXException::operator=().
00096 { 00097 this->ACEXML_SAXException::operator= (ex); 00098 return *this; 00099 }
| void ACEXML_SAXNotSupportedException::print | ( | void | ) | const [virtual] |
Print out exception using ACE_DEBUG.
Reimplemented from ACEXML_SAXException.
Definition at line 135 of file SAXExceptions.cpp.
References ACE_DEBUG, ACE_TEXT, and LM_ERROR.
00136 { 00137 ACE_DEBUG ((LM_ERROR, 00138 ACE_TEXT ("ACEXML: (%P|%t) %s: %s\n"), 00139 this->exception_name_, this->message())); 00140 }
const ACEXML_Char ACEXML_SAXNotSupportedException::exception_name_ = ACE_TEXT ("ACEXML_SAXNotSupportedException") [static, protected] |
All exceptions have names. This name is used to identify the type of an exception.
Reimplemented from ACEXML_SAXException.
Definition at line 114 of file SAXExceptions.h.
1.4.7