Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACEXML_SAXNotRecognizedException Class Reference

ACEXML_SAXNotRecognizedException. More...

#include "ACEXML/common/SAXExceptions.h"

Inheritance diagram for ACEXML_SAXNotRecognizedException:

Inheritance graph
[legend]
Collaboration diagram for ACEXML_SAXNotRecognizedException:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACEXML_SAXNotRecognizedException (void)
 Default constructor. More...

 ACEXML_SAXNotRecognizedException (const ACEXML_Char *msg)
 Constructor with an initializing exception message. More...

 ACEXML_SAXNotRecognizedException (const ACEXML_SAXNotRecognizedException &ex)
 Copy constructor. More...

virtual ~ACEXML_SAXNotRecognizedException (void)
 Destructor. More...

virtual void _raise (void)
 Throw the exception. More...

virtual const ACEXML_Charid (void) const
 Return the name of the exception. More...

virtual ACEXML_Exceptionduplicate (void) const
 Dynamically create a copy of this exception. More...

virtual int is_a (const ACEXML_Char *name)
 Check whether this is an exception of type specified by <name>. More...

virtual void print (void)
 Print out exception using ACE_DEBUG. More...


Static Public Methods

ACEXML_SAXNotRecognizedException * _downcast (ACEXML_Exception *ex)
 Static narrow operation. More...


Static Protected Attributes

const ACEXML_Charexception_name_ = ACEXML_SAXNotRecognizedException_name
 All exceptions have names. This name is used to identify the type of an exception. More...


Detailed Description

ACEXML_SAXNotRecognizedException.

Definition at line 119 of file SAXExceptions.h.


Constructor & Destructor Documentation

ACEXML_SAXNotRecognizedException::ACEXML_SAXNotRecognizedException void   
 

Default constructor.

Definition at line 162 of file SAXExceptions.cpp.

00163 {
00164 }

ACEXML_SAXNotRecognizedException::ACEXML_SAXNotRecognizedException const ACEXML_Char   msg
 

Constructor with an initializing exception message.

Definition at line 166 of file SAXExceptions.cpp.

References ACEXML_Char.

00167   : ACEXML_SAXException (msg)
00168 {
00169 }

ACEXML_SAXNotRecognizedException::ACEXML_SAXNotRecognizedException const ACEXML_SAXNotRecognizedException &    ex
 

Copy constructor.

Definition at line 171 of file SAXExceptions.cpp.

00172   : ACEXML_SAXException (ex)
00173 {
00174 }

ACEXML_SAXNotRecognizedException::~ACEXML_SAXNotRecognizedException void    [virtual]
 

Destructor.

Definition at line 176 of file SAXExceptions.cpp.

References ACEXML_SAXException::message_.

00177 {
00178   delete[] this->message_;
00179 }


Member Function Documentation

ACEXML_SAXNotRecognizedException* ACEXML_SAXNotRecognizedException::_downcast ACEXML_Exception   ex [static]
 

Static narrow operation.

Reimplemented from ACEXML_SAXException.

ACEXML_INLINE void ACEXML_SAXNotRecognizedException::_raise void    [virtual]
 

Throw the exception.

Reimplemented from ACEXML_SAXException.

Definition at line 24 of file SAXExceptions.i.

References ACEXML_RAISE.

00025 {
00026   ACEXML_RAISE (*this);
00027 }

ACEXML_Exception * ACEXML_SAXNotRecognizedException::duplicate void    const [virtual]
 

Dynamically create a copy of this exception.

Reimplemented from ACEXML_SAXException.

Definition at line 182 of file SAXExceptions.cpp.

References ACE_NEW_RETURN.

00183 {
00184   ACEXML_Exception *tmp;
00185   ACE_NEW_RETURN (tmp, ACEXML_SAXNotRecognizedException (*this), 0);
00186   return tmp;
00187 }

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.i.

References exception_name_.

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 190 of file SAXExceptions.cpp.

References ACEXML_Char, ACEXML_Exception::exception_name_, exception_name_, ACEXML_SAXException::is_a, and ACE_OS_String::strcmp.

00191 {
00192   if (name == ACEXML_SAXNotRecognizedException::exception_name_
00193       || ACE_OS::strcmp (ACEXML_Exception::exception_name_,
00194                          name) == 0)
00195     return 1;
00196   else
00197     return this->ACEXML_SAXException::is_a (name);
00198 
00199   ACE_NOTREACHED (return 0;)
00200 }

void ACEXML_SAXNotRecognizedException::print void    [virtual]
 

Print out exception using ACE_DEBUG.

Reimplemented from ACEXML_SAXException.

Definition at line 203 of file SAXExceptions.cpp.

References ACE_DEBUG, ACE_TEXT, and LM_ERROR.

00204 {
00205   ACE_DEBUG ((LM_ERROR,
00206               ACE_TEXT ("ACEXML: (%P|%t) %s: %s\n"),
00207               this->exception_name_, this->message()));
00208 }


Member Data Documentation

const ACEXML_Char * ACEXML_SAXNotRecognizedException::exception_name_ = ACEXML_SAXNotRecognizedException_name [static, protected]
 

All exceptions have names. This name is used to identify the type of an exception.

Reimplemented from ACEXML_SAXException.

Definition at line 27 of file SAXExceptions.cpp.

Referenced by id, and is_a.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 13:27:25 2003 for ACEXML by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002