ACEXML_SAXNotRecognizedException. More...
#include <ACEXML/common/SAXExceptions.h>
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 <name>. | |
virtual void | print (void) const |
Print out exception using ACE_DEBUG. | |
Static Public Member Functions | |
static ACEXML_SAXNotRecognizedException * | _downcast (ACEXML_Exception *ex) |
Static narrow operation. | |
Static Protected Attributes | |
static const ACEXML_Char | exception_name_ [] = ACE_TEXT ("ACEXML_SAXNotRecognizedException") |
ACEXML_SAXNotRecognizedException.
Definition at line 122 of file SAXExceptions.h.
ACEXML_SAXNotRecognizedException::ACEXML_SAXNotRecognizedException | ( | void | ) |
ACEXML_SAXNotRecognizedException::ACEXML_SAXNotRecognizedException | ( | const ACEXML_Char * | msg | ) |
Constructor with an initializing exception message.
Definition at line 146 of file SAXExceptions.cpp.
: ACEXML_SAXException (msg) { }
ACEXML_SAXNotRecognizedException::ACEXML_SAXNotRecognizedException | ( | const ACEXML_SAXNotRecognizedException & | ex | ) |
ACEXML_SAXNotRecognizedException::~ACEXML_SAXNotRecognizedException | ( | void | ) | [virtual] |
ACEXML_SAXNotRecognizedException * ACEXML_SAXNotRecognizedException::_downcast | ( | ACEXML_Exception * | ex | ) | [static] |
Static narrow operation.
Reimplemented from ACEXML_SAXException.
Definition at line 164 of file SAXExceptions.cpp.
{ return dynamic_cast<ACEXML_SAXNotRecognizedException*> (ex); }
ACEXML_INLINE void ACEXML_SAXNotRecognizedException::_raise | ( | void | ) | [virtual] |
Throw the exception.
Reimplemented from ACEXML_SAXException.
Definition at line 24 of file SAXExceptions.inl.
{ ACEXML_RAISE (*this); }
ACEXML_Exception * ACEXML_SAXNotRecognizedException::duplicate | ( | void | ) | const [virtual] |
Dynamically create a copy of this exception.
Reimplemented from ACEXML_SAXException.
Definition at line 174 of file SAXExceptions.cpp.
{ ACEXML_Exception *tmp; ACE_NEW_RETURN (tmp, ACEXML_SAXNotRecognizedException (*this), 0); return tmp; }
ACEXML_INLINE const ACEXML_Char * ACEXML_SAXNotRecognizedException::id | ( | void | ) | const [virtual] |
Return the name of the exception.
Reimplemented from ACEXML_SAXException.
Definition at line 48 of file SAXExceptions.inl.
int ACEXML_SAXNotRecognizedException::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 182 of file SAXExceptions.cpp.
{ return ACE_OS::strcmp (ACEXML_SAXNotRecognizedException::exception_name_, name) == 0 || this->ACEXML_SAXException::is_a (name); }
ACEXML_SAXNotRecognizedException & ACEXML_SAXNotRecognizedException::operator= | ( | const ACEXML_SAXNotRecognizedException & | ex | ) |
Assignment operator.
Definition at line 157 of file SAXExceptions.cpp.
{ this->ACEXML_SAXException::operator= (ex); return *this; }
void ACEXML_SAXNotRecognizedException::print | ( | void | ) | const [virtual] |
Print out exception using ACE_DEBUG.
Reimplemented from ACEXML_SAXException.
Definition at line 190 of file SAXExceptions.cpp.
{ ACE_DEBUG ((LM_ERROR, ACE_TEXT ("ACEXML: (%P|%t) %s: %s\n"), this->exception_name_, this->message())); }
const ACEXML_Char ACEXML_SAXNotRecognizedException::exception_name_ = ACE_TEXT ("ACEXML_SAXNotRecognizedException") [static, protected] |
All exceptions have names. This name is used to identify the type of an exception.
Reimplemented from ACEXML_SAXException.
Definition at line 156 of file SAXExceptions.h.