#include <ACEXML/common/SAXExceptions.h>
Inheritance diagram for ACEXML_SAXParseException:
Public Member Functions | |
ACEXML_SAXParseException (void) | |
Default constructor. | |
ACEXML_SAXParseException (const ACEXML_Char *msg) | |
Constructor with an initializing exception message. | |
ACEXML_SAXParseException (const ACEXML_SAXParseException &ex) | |
Copy constructor. | |
ACEXML_SAXParseException & | operator= (const ACEXML_SAXParseException &ex) |
Assignment operator. | |
virtual | ~ACEXML_SAXParseException (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_SAXParseException * | _downcast (ACEXML_Exception *ex) |
Static narrow operation. | |
Static Protected Attributes | |
const ACEXML_Char | exception_name_ [] = ACE_TEXT ("ACEXML_SAXParseException") |
Definition at line 165 of file SAXExceptions.h.
|
Default constructor.
Definition at line 197 of file SAXExceptions.cpp.
00198 { 00199 } |
|
Constructor with an initializing exception message.
Definition at line 201 of file SAXExceptions.cpp. References ACEXML_Char.
00202 : ACEXML_SAXException (msg) 00203 { 00204 } |
|
Copy constructor.
Definition at line 206 of file SAXExceptions.cpp.
00207 : ACEXML_SAXException (ex) 00208 { 00209 } |
|
Destructor.
Definition at line 224 of file SAXExceptions.cpp.
00225 { 00226 } |
|
Static narrow operation.
Reimplemented from ACEXML_SAXException. Definition at line 219 of file SAXExceptions.cpp.
00220 {
00221 return dynamic_cast<ACEXML_SAXParseException*> (ex);
00222 }
|
|
Throw the exception.
Reimplemented from ACEXML_SAXException. Definition at line 30 of file SAXExceptions.inl. References ACEXML_RAISE.
00031 { 00032 ACEXML_RAISE (*this); 00033 } |
|
Dynamically create a copy of this exception.
Reimplemented from ACEXML_SAXException. Definition at line 229 of file SAXExceptions.cpp. References ACE_NEW_RETURN.
00230 { 00231 ACEXML_Exception *tmp; 00232 ACE_NEW_RETURN (tmp, ACEXML_SAXParseException (*this), 0); 00233 return tmp; 00234 } |
|
Return the name of the exception.
Reimplemented from ACEXML_SAXException. Definition at line 54 of file SAXExceptions.inl. References exception_name_.
00055 { 00056 return ACEXML_SAXParseException::exception_name_; 00057 } |
|
Check whether this is an exception of type specified by .
Reimplemented from ACEXML_SAXException. Definition at line 237 of file SAXExceptions.cpp. References ACEXML_Char, exception_name_, ACEXML_SAXException::is_a(), and ACE_OS::strcmp().
00238 { 00239 return ACE_OS::strcmp (ACEXML_SAXParseException::exception_name_, 00240 name) == 0 00241 || this->ACEXML_SAXException::is_a (name); 00242 } |
|
Assignment operator.
Definition at line 212 of file SAXExceptions.cpp. References ACEXML_SAXException::operator=().
00213 { 00214 this->ACEXML_SAXException::operator= (ex); 00215 return *this; 00216 } |
|
Print out exception using ACE_DEBUG.
Reimplemented from ACEXML_SAXException. Definition at line 245 of file SAXExceptions.cpp. References ACE_ERROR, ACE_TEXT, and LM_ERROR.
00246 { 00247 ACE_ERROR ((LM_ERROR, 00248 ACE_TEXT ("ACEXML: (%P|%t) %s: %s\n"), 00249 this->exception_name_, this->message())); 00250 } |
|
All exceptions have names. This name is used to identify the type of an exception. Reimplemented from ACEXML_SAXException. Definition at line 15 of file SAXExceptions.cpp. |