ACEXML  6.1.0
Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes
ACEXML_SAXException Class Reference

ACEXML_SAXException. More...

#include <SAXExceptions.h>

Inheritance diagram for ACEXML_SAXException:
Inheritance graph
[legend]
Collaboration diagram for ACEXML_SAXException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ACEXML_SAXException (void)
 Default constructor.
 ACEXML_SAXException (const ACEXML_Char *msg)
 Constructor initializing the exception message.
ACEXML_SAXExceptionoperator= (const ACEXML_SAXException &src)
 Assignment operator.
 ACEXML_SAXException (const ACEXML_SAXException &ex)
 Copy constructor.
virtual ~ACEXML_SAXException (void)
 Destructor.
virtual void _raise (void)
 Throw the exception.
virtual const ACEXML_Charid (void) const
 Return the name of the exception.
const ACEXML_Charmessage (void) const
 Return the extra message accompanying the exception.
virtual ACEXML_Exceptionduplicate (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_SAXException_downcast (ACEXML_Exception *ex)
 Static narrow operation.

Protected Attributes

ACEXML_Charmessage_
 A message providing more information about the exception being thrown.

Static Protected Attributes

static const ACEXML_Charexception_name_ = ACE_TEXT ("ACEXML_SAXException")

Detailed Description

ACEXML_SAXException.

ACEXML_SAXException is the mother of all SAX related exceptions.


Constructor & Destructor Documentation

ACEXML_SAXException::ACEXML_SAXException ( void  )

Default constructor.

ACEXML_SAXException::ACEXML_SAXException ( const ACEXML_Char msg)

Constructor initializing the exception message.

ACEXML_SAXException::ACEXML_SAXException ( const ACEXML_SAXException ex)

Copy constructor.

ACEXML_SAXException::~ACEXML_SAXException ( void  ) [virtual]

Destructor.


Member Function Documentation

ACEXML_SAXException * ACEXML_SAXException::_downcast ( ACEXML_Exception ex) [static]

Static narrow operation.

Reimplemented from ACEXML_Exception.

Reimplemented in ACEXML_SAXParseException, ACEXML_SAXNotRecognizedException, and ACEXML_SAXNotSupportedException.

ACEXML_INLINE void ACEXML_SAXException::_raise ( void  ) [virtual]
ACEXML_Exception * ACEXML_SAXException::duplicate ( void  ) const [virtual]

Dynamically create a copy of this exception.

Implements ACEXML_Exception.

Reimplemented in ACEXML_SAXParseException, ACEXML_SAXNotRecognizedException, and ACEXML_SAXNotSupportedException.

ACEXML_INLINE const ACEXML_Char * ACEXML_SAXException::id ( void  ) const [virtual]

Return the name of the exception.

Reimplemented from ACEXML_Exception.

Reimplemented in ACEXML_SAXParseException, ACEXML_SAXNotRecognizedException, and ACEXML_SAXNotSupportedException.

int ACEXML_SAXException::is_a ( const ACEXML_Char name) [virtual]

Check whether this is an exception of type specified by <name>.

Reimplemented from ACEXML_Exception.

Reimplemented in ACEXML_SAXParseException, ACEXML_SAXNotRecognizedException, and ACEXML_SAXNotSupportedException.

ACEXML_INLINE const ACEXML_Char * ACEXML_SAXException::message ( void  ) const

Return the extra message accompanying the exception.

ACEXML_SAXException & ACEXML_SAXException::operator= ( const ACEXML_SAXException src)

Assignment operator.

void ACEXML_SAXException::print ( void  ) const [virtual]

Print out exception using ACE_DEBUG.

Implements ACEXML_Exception.

Reimplemented in ACEXML_SAXParseException, ACEXML_SAXNotRecognizedException, and ACEXML_SAXNotSupportedException.


Member Data Documentation

const ACEXML_Char * ACEXML_SAXException::exception_name_ = ACE_TEXT ("ACEXML_SAXException") [static, protected]

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

Reimplemented from ACEXML_Exception.

Reimplemented in ACEXML_SAXParseException, ACEXML_SAXNotRecognizedException, and ACEXML_SAXNotSupportedException.

A message providing more information about the exception being thrown.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines