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

ACEXML_SAXNotSupportedException Class Reference

ACEXML_SAXNotSupportedException. More...

#include "ACEXML/common/SAXExceptions.h"

Inheritance diagram for ACEXML_SAXNotSupportedException:

Inheritance graph
[legend]
Collaboration diagram for ACEXML_SAXNotSupportedException:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACEXML_SAXNotSupportedException (void)
 Default constructor. More...

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

 ACEXML_SAXNotSupportedException (const ACEXML_Char *msg)
 Constructor which accepts an informational message. More...

virtual ~ACEXML_SAXNotSupportedException (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_SAXNotSupportedException * _downcast (ACEXML_Exception *ex)
 Static narrow operation. More...


Static Protected Attributes

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


Detailed Description

ACEXML_SAXNotSupportedException.

Definition at line 80 of file SAXExceptions.h.


Constructor & Destructor Documentation

ACEXML_SAXNotSupportedException::ACEXML_SAXNotSupportedException void   
 

Default constructor.

Definition at line 113 of file SAXExceptions.cpp.

00114 {
00115 }

ACEXML_SAXNotSupportedException::ACEXML_SAXNotSupportedException const ACEXML_SAXNotSupportedException &    ex
 

Copy constructor.

Definition at line 117 of file SAXExceptions.cpp.

00118   : ACEXML_SAXException (ex)
00119 {
00120 }

ACEXML_SAXNotSupportedException::ACEXML_SAXNotSupportedException const ACEXML_Char   msg
 

Constructor which accepts an informational message.

Definition at line 122 of file SAXExceptions.cpp.

References ACEXML_Char.

00123   : ACEXML_SAXException (msg)
00124 {
00125 }

ACEXML_SAXNotSupportedException::~ACEXML_SAXNotSupportedException void    [virtual]
 

Destructor.

Definition at line 127 of file SAXExceptions.cpp.

References ACEXML_SAXException::message_.

00128 {
00129   delete[] this->message_;
00130 }


Member Function Documentation

ACEXML_SAXNotSupportedException* ACEXML_SAXNotSupportedException::_downcast ACEXML_Exception   ex [static]
 

Static narrow operation.

Reimplemented from ACEXML_SAXException.

ACEXML_INLINE void ACEXML_SAXNotSupportedException::_raise void    [virtual]
 

Throw the exception.

Reimplemented from ACEXML_SAXException.

Definition at line 18 of file SAXExceptions.i.

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

References ACE_NEW_RETURN.

00135 {
00136   ACEXML_Exception *tmp;
00137   ACE_NEW_RETURN (tmp, ACEXML_SAXNotSupportedException (*this), 0);
00138   return tmp;
00139 }

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

References exception_name_.

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

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

00143 {
00144   if (name == ACEXML_SAXNotSupportedException::exception_name_
00145       || ACE_OS::strcmp (ACEXML_Exception::exception_name_,
00146                          name) == 0)
00147     return 1;
00148   else
00149     return this->ACEXML_SAXException::is_a (name);
00150 
00151   ACE_NOTREACHED (return 0;)
00152 }

void ACEXML_SAXNotSupportedException::print void    [virtual]
 

Print out exception using ACE_DEBUG.

Reimplemented from ACEXML_SAXException.

Definition at line 155 of file SAXExceptions.cpp.

References ACE_DEBUG, ACE_TEXT, and LM_ERROR.

00156 {
00157   ACE_DEBUG ((LM_ERROR,
00158               ACE_TEXT ("ACEXML: (%P|%t) %s: %s\n"),
00159               this->exception_name_, this->message()));
00160 }


Member Data Documentation

const ACEXML_Char * ACEXML_SAXNotSupportedException::exception_name_ = ACEXML_SAXNotSupportedException_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 19 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:26 2003 for ACEXML by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002