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


Public Member Functions | |
| ACEXML_SAXNotRecognizedException (void) | |
| Default constructor. | |
| ACEXML_SAXNotRecognizedException (const ACEXML_Char *msg) | |
| Constructor with an initializing exception message. | |
| ACEXML_SAXNotRecognizedException (const ACEXML_SAXNotRecognizedException &ex) | |
| Copy constructor. | |
| ACEXML_SAXNotRecognizedException & | operator= (const ACEXML_SAXNotRecognizedException &ex) |
| Assignment operator. | |
| virtual | ~ACEXML_SAXNotRecognizedException (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 . | |
| virtual void | print (void) const |
| Print out exception using ACE_DEBUG. | |
Static Public Member Functions | |
| ACEXML_SAXNotRecognizedException * | _downcast (ACEXML_Exception *ex) |
| Static narrow operation. | |
Static Protected Attributes | |
| const ACEXML_Char | exception_name_ [] = ACE_TEXT ("ACEXML_SAXNotRecognizedException") |
Definition at line 122 of file SAXExceptions.h.
|
|
Default constructor.
Definition at line 142 of file SAXExceptions.cpp.
00143 {
00144 }
|
|
|
Constructor with an initializing exception message.
Definition at line 146 of file SAXExceptions.cpp. References ACEXML_Char.
00147 : ACEXML_SAXException (msg) 00148 { 00149 } |
|
|
Copy constructor.
Definition at line 151 of file SAXExceptions.cpp.
00152 : ACEXML_SAXException (ex) 00153 { 00154 } |
|
|
Destructor.
Definition at line 169 of file SAXExceptions.cpp.
00170 {
00171 }
|
|
|
Static narrow operation.
Reimplemented from ACEXML_SAXException. Definition at line 164 of file SAXExceptions.cpp.
00165 {
00166 return dynamic_cast<ACEXML_SAXNotRecognizedException*> (ex);
00167 }
|
|
|
Throw the exception.
Reimplemented from ACEXML_SAXException. Definition at line 24 of file SAXExceptions.inl. References ACEXML_RAISE.
00025 {
00026 ACEXML_RAISE (*this);
00027 }
|
|
|
Dynamically create a copy of this exception.
Reimplemented from ACEXML_SAXException. Definition at line 174 of file SAXExceptions.cpp. References ACE_NEW_RETURN.
00175 {
00176 ACEXML_Exception *tmp;
00177 ACE_NEW_RETURN (tmp, ACEXML_SAXNotRecognizedException (*this), 0);
00178 return tmp;
00179 }
|
|
|
Return the name of the exception.
Reimplemented from ACEXML_SAXException. Definition at line 48 of file SAXExceptions.inl. References exception_name_.
00049 {
00050 return ACEXML_SAXNotRecognizedException::exception_name_;
00051 }
|
|
|
Check whether this is an exception of type specified by .
Reimplemented from ACEXML_SAXException. Definition at line 182 of file SAXExceptions.cpp. References ACEXML_Char, exception_name_, ACEXML_SAXException::is_a(), and ACE_OS::strcmp().
00183 {
00184 return ACE_OS::strcmp (ACEXML_SAXNotRecognizedException::exception_name_,
00185 name) == 0
00186 || this->ACEXML_SAXException::is_a (name);
00187 }
|
|
|
Assignment operator.
Definition at line 157 of file SAXExceptions.cpp. References ACEXML_SAXException::operator=().
00158 {
00159 this->ACEXML_SAXException::operator= (ex);
00160 return *this;
00161 }
|
|
|
Print out exception using ACE_DEBUG.
Reimplemented from ACEXML_SAXException. Definition at line 190 of file SAXExceptions.cpp. References ACE_DEBUG, ACE_TEXT, and LM_ERROR.
00191 {
00192 ACE_DEBUG ((LM_ERROR,
00193 ACE_TEXT ("ACEXML: (%P|%t) %s: %s\n"),
00194 this->exception_name_, this->message()));
00195 }
|
|
|
All exceptions have names. This name is used to identify the type of an exception. Reimplemented from ACEXML_SAXException. Definition at line 13 of file SAXExceptions.cpp. |
1.3.6